zgq
2021-08-11 15cd183e1954f46567f2cfc62eccd31672fa5e7f
WebAPI/Controllers/SellOutController.cs
@@ -280,12 +280,13 @@
        [HttpGet]
        public object DisBillEntryList_Webs_Json(long HBillID, string HBillType, string sWhere)
        {
            SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
            try
            {
                ds = webserver.GetKf_PonderationBillMain_Temp(HBillID, HBillType, sWhere);
                //ds = webserver.GetKf_PonderationBillMain_Temp(HBillID, HBillType, sWhere);
                ds = oCn.RunProcReturn("Select * from h_v_KF_PonderationBillMain_Temp Where HInterID=" + HBillID.ToString() + " and HBillType='" + HBillType + "' " + sWhere+ " order by HMakeDate desc", "h_v_KF_PonderationBillMain_Temp", ref DBUtility.ClsPub.sExeReturnInfo);
                if (ds == null || ds.Tables[0].Rows.Count <= 0)
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "没有返回任何记录!";