xusc 11 months ago
parent
commit
817f9c181d
  1. 22
      WMS-BS/NFine.Application/WMS/ProductionIssueApp.cs

22
WMS-BS/NFine.Application/WMS/ProductionIssueApp.cs

@ -500,8 +500,7 @@ where a.ApplyNegCode='" + ApplyNegCode + "'";
keyValue = keyValue.Substring(1, keyValue.Length - 2);
string sql = string.Empty;
string sqlSeach = string.Empty;
try
{
sqlSeach = string.Format(@"select * from ICSMOApplyNeg a
inner join dbo.ICSInventoryLotDetail b on a.ApplyNegCode=b.TransCode and a.WorkPoint=b.WorkPoint
inner join dbo.ICSInventoryLot c on b.LotNo=c.LotNo and b.WorkPoint=c.WorkPoint
@ -518,19 +517,20 @@ where a.ApplyNegCode='" + ApplyNegCode + "'";
sql += string.Format(@"DELETE FROM dbo.ICSMOApplyNegDetail WHERE ApplyNegCode IN ({0}) and WorkPoint ='{1}'", keyValue.TrimEnd(','), WorkPoint);
}
try
{
if (SqlHelper.CmdExecuteNonQueryLi(sql) > 0)
try
{
if (SqlHelper.CmdExecuteNonQueryLi(sql) > 0)
{
}
}
catch (Exception ex)
{
msg = ex.Message;
}
return msg;
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
return msg;
}

Loading…
Cancel
Save