| | |
| | | var HProdORGID = list[i]["HProdORGID"].ToString(); |
| | | var HWorkShopID = list[i]["HWorkShopID"].ToString(); |
| | | var HSourceID = "0"; |
| | | var HSourceName = list[i]["çäº§èµæº"].ToString(); |
| | | var HWorkQty = DBUtility.ClsPub.isDoule(list[i]["产è½"]); |
| | | var HYX = list[i]["ä¼å
级"].ToString(); |
| | | var HEmpID = list[i]["HEmpID"].ToString(); |
| | |
| | | var HSeOrderBillNo = list[i]["HSeOrderBillNo"].ToString(); |
| | | var HVersion_Import = list[i]["HVersion_Import"].ToString(); |
| | | |
| | | |
| | | var ds = oCN.RunProcReturn($@"select * from Gy_Source where HName= '{HSourceName}'", "Gy_Source"); |
| | | HSourceID = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | |
| | | string sql = $"select * from Sc_WorkBillSortBillMain where HMainSourceInterID={HMainSourceInterID}" + |
| | | $" and HMainSourceEntryID={HMainSourceEntryID} and HICMOBillNo='{HICMOBillNo}' and HICMOEntrySEQ={HICMOEntrySEQ} and HSourceID={HSourceID} and ISNULL(HDeleteMan,'') = ''"; |
| | | LogService.Write("sql:" + sql); |