1
wangyi
4 天以前 2ba3961bc3264a4af46e10cd199cdbe498593174
WebAPI/Controllers/BaseSet/Kf_WIPBalController.cs
@@ -369,7 +369,7 @@
                        Double HBeginBal = Double.Parse(item["期初金额"].ToString());
                        Double HPanelQty = Double.Parse(item["拼板数"].ToString());
                        // 1. 检查主表是否存在记录
                        string checkMainSql = $"select HInterID from Kf_WIPBalMain where HOrgID='{HOrgID}' and HWorkShopID={HWorkShopID} and HCostObjID={HCostObjID}";
                        string checkMainSql = $"select HInterID from Kf_WIPBalMain where HOrgID='{HOrgID}' and HWorkShopID={HWorkShopID} and HCostObjID={HCostObjID} and HYear ={HYear} and HPeriod = {HPeriod}";
                        DataSet ds = oCN.RunProcReturn(checkMainSql, "Kf_WIPBalMain");
                        int HInterID;