模具保养运行,代码优化

This commit is contained in:
DEVICE8\12494
2023-06-02 17:39:17 +08:00
parent aed23fac08
commit 863d9cf470
8 changed files with 254 additions and 36 deletions

View File

@@ -88,6 +88,7 @@ namespace Tnb.WarehouseMgr
newCarry.create_time = DateTime.Now;
var row = await _db.Updateable(newCarry).ExecuteCommandAsync();
WmsCarryReplaceH wmsCarryReplaceH = oldCarry.Adapt<WmsCarryReplaceH>();
wmsCarryReplaceH.id = SnowflakeIdHelper.NextId();
wmsCarryReplaceH.org_id = oldCarry.org_id;
wmsCarryReplaceH.bill_code = await _billRullService.GetBillNumber(WmsCarryConst.WMS_CARRY_REPLACE_ENCODE);
wmsCarryReplaceH.carry_id = oldCarry.id;