zgq
2021-08-11 15cd183e1954f46567f2cfc62eccd31672fa5e7f
WebAPI/Controllers/MateOutController.cs
@@ -400,9 +400,12 @@
        [HttpGet]
        public object DisBillEntryListBack_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=" + HInterID.ToString() + " and HBillType='" + HBillType + "' " + sWhere + " order by HMakeDate desc", "h_v_KF_PonderationBillMain_Temp", ref DBUtility.ClsPub.sExeReturnInfo);
                ds = oCn.RunProcReturn("Select * from h_v_KF_PonderationBillMain_Temp Where HInterID=" + HBillID.ToString() + " and HBillType='" + HBillType + "' order by HMakeDate desc", "h_v_KF_PonderationBillMain_Temp");
                if (ds == null || ds.Tables[0].Rows.Count <= 0)
                {
                    objJsonResult.code = "0";