| | |
| | | |
| | | LogService.Write("客æ·ç©æå¯¹åºè¡¨" + @"Insert Into Gy_MateNumRelation_Sec " + |
| | | "(HItemID,HCusID,HCusRelationNumber,HCusRelationName,HMaterID" + |
| | | ",HUsed,HCREATEORGID,HUSEORGID,HRemark,HMakeDate,HMaker" + |
| | | ",HUsed,HCREATEORGID,HUSEORGID,HRemark,HMakeDate,HMaker,HShopID" + |
| | | ") " + |
| | | " values('" + item.HItemID + "','" + item.HCusID + "','" + item.HCusRelationNumber + "','" + item.HCusRelationName + "','" + item.HMaterID + "'," + |
| | | "'" + item.HUsed + "','" + item.HUSEORGID + "','" + item.HUSEORGID + "','" + item.HRemark + "',getdate(),'" + item.HMaker + |
| | | "'" + item.HUsed + "','" + item.HUSEORGID + "','" + item.HUSEORGID + "','" + item.HRemark + "',getdate(),'" + item.HMaker + "','" + item.HShopID + |
| | | "') "); |
| | | |
| | | // æå
¥å½åitemçè®°å½ |
| | | sql = "Insert Into Gy_MateNumRelation_Sec " + |
| | | "(HItemID,HCusID,HCusRelationNumber,HCusRelationName,HMaterID" + |
| | | ",HUsed,HCREATEORGID,HUSEORGID,HRemark,HMakeDate,HMaker" + |
| | | ",HUsed,HCREATEORGID,HUSEORGID,HRemark,HMakeDate,HMaker,HShopID" + |
| | | ") " + |
| | | " values('" + item.HItemID + "','" + item.HCusID + "','" + item.HCusRelationNumber + "','" + item.HCusRelationName + "','" + item.HMaterID + "'," + |
| | | "'" + item.HUsed + "','" + item.HUSEORGID + "','" + item.HUSEORGID + "','" + item.HRemark + "',getdate(),'" + item.HMaker + |
| | | "'" + item.HUsed + "','" + item.HUSEORGID + "','" + item.HUSEORGID + "','" + item.HRemark + "',getdate(),'" + item.HMaker + "','" + item.HShopID + |
| | | "') "; |
| | | oCN.RunProc(sql); |
| | | // å
³éidentity_insert |