This commit is contained in:
2024-07-03 17:52:37 +08:00
parent 694412e965
commit 785f0f287a

View File

@@ -468,7 +468,7 @@ namespace Tnb.ProductionMgr
{ {
if (wmsCarryCode.codeqty < num) if (wmsCarryCode.codeqty < num)
{ {
throw new Exception("条码数量小于签收数量"); throw new Exception("条码数量小于投料数量");
} }
await db.Updateable<WmsCarryCode>() await db.Updateable<WmsCarryCode>()
.SetColumns(x => x.codeqty == x.codeqty - num) .SetColumns(x => x.codeqty == x.codeqty - num)