| | |
| | | for (int i = 0; i <= 60; i++) |
| | | { |
| | | JObject jsonFPOOrderEntry = new JObject(); |
| | | sql = string.Format($"update SC_WORKBILLSORTBILLSub set FHQTY ='{Convert.ToString(current["FT" + "" + i + ""])}' where FID ={Convert.ToString(current["FDayPlanID"])} and FHMASTERDATE ={date.AddDays(i).ToShortDateString()} and FHLOCKEDSUB = 0"); |
| | | //重复导入的更新掉计划数量以及更新齐套状态为空 |
| | | sql = string.Format($"update SC_WORKBILLSORTBILLSub set FHQTY ='{Convert.ToString(current["FT" + "" + i + ""])}',FCOMPLETE='' where FID ={Convert.ToString(current["FDayPlanID"])} and FHMASTERDATE ={date.AddDays(i).ToShortDateString()} and FHLOCKEDSUB = 0"); |
| | | sqlList.Add(sql); |
| | | } |
| | | } |