|
@ -827,14 +827,14 @@ namespace ICSSoft.DataProject |
|
|
MTIME,WorkPoint,EATTRIBUTE1) |
|
|
MTIME,WorkPoint,EATTRIBUTE1) |
|
|
SELECT NEWID(),'{3}','{4}','{5}',a.LotNo ,a.InvCode , |
|
|
SELECT NEWID(),'{3}','{4}','{5}',a.LotNo ,a.InvCode , |
|
|
a.WarehouseCode,a.LocationCode,'','',a.Quantity, |
|
|
a.WarehouseCode,a.LocationCode,'','',a.Quantity, |
|
|
'盘点','0','{6}','{7}','0','', |
|
|
|
|
|
|
|
|
'{8}','0','{6}','{7}','0','', |
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
'','','',f.F_Account ,f.F_RealName , |
|
|
SYSDATETIME() ,a.WorkPoint ,'' |
|
|
SYSDATETIME() ,a.WorkPoint ,'' |
|
|
FROM ICSWareHouseLotInfo a |
|
|
FROM ICSWareHouseLotInfo a |
|
|
INNER JOIN Sys_SRM_User f ON f.F_Account='{2}' AND a.WorkPoint=f.F_Location |
|
|
INNER JOIN Sys_SRM_User f ON f.F_Account='{2}' AND a.WorkPoint=f.F_Location |
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{1}' |
|
|
WHERE a.LotNo='{0}' AND a.WorkPoint='{1}' |
|
|
";
|
|
|
";
|
|
|
sql = string.Format(sql, LotNo, WorkPoint, User, Identification, TransCode, TransSequence, TransType, TransTypeEnum.LOTCheckAfter.GetDescription<DBValue>()); |
|
|
|
|
|
|
|
|
sql = string.Format(sql, LotNo, WorkPoint, User, Identification, TransCode, TransSequence, TransType, TransTypeEnum.LOTCheckAfter.GetDescription<DBValue>(), CheckKind); |
|
|
|
|
|
|
|
|
if (!DBHelper.ExecuteNonQuery(sql, cmd)) |
|
|
if (!DBHelper.ExecuteNonQuery(sql, cmd)) |
|
|
{ |
|
|
{ |
|
|