yangle
2022-05-23 8d1a104d6d61073d4e2d9219d7269cd23769e7d0
WebAPI/Controllers/SellOutController.cs
@@ -146,7 +146,43 @@
                return objJsonResult;
            }
        }
        //已上传查询
        [Route("Web/QueryBillUpdateLoad_Json")]
        [HttpGet]
        public object QueryBillUpdateLoad_Json(string BillType, string HBillNo, string HSourceBillNo)
        {
            try
            {
                ds = webserver.GetQueryBillUpdateLoad_Json(BillType, HBillNo, HSourceBillNo);
                if (ds == null || ds.Tables[0].Rows.Count <= 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "没有返回任何记录!";
                    objJsonResult.data = null;
                    return objJsonResult;
                    //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning);
                }
                else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "获取信息成功!";
                    objJsonResult.data = ds.Tables[0];
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "没有返回任何记录!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        [Route("SellOut/GetMAXNum")]