wms调整插入操作记录逻辑代码
This commit is contained in:
@@ -468,7 +468,11 @@ namespace Tnb.WarehouseMgr
|
||||
//根据载具移入Id,回更单据状态
|
||||
await _db.Updateable<WmsMoveInstock>().SetColumns(it => new WmsMoveInstock { status = WmsWareHouseConst.BILLSTATUS_ON_ID }).Where(it => it.id == input.PreTaskId).ExecuteCommandAsync();
|
||||
//根据生成的预任务,插入预任务操作记录
|
||||
await _db.Insertable(input.PreTaskRecords).ExecuteCommandAsync();
|
||||
await _db.Insertable(input.PreTaskRecord).ExecuteCommandAsync();
|
||||
if(input.PreTaskHandleCodes.Count > 0)
|
||||
{
|
||||
await _db.Insertable(input.PreTaskHandleCodes).ExecuteCommandAsync();
|
||||
}
|
||||
//根据载具ID,更新是否锁定和赋值起始库位
|
||||
if (!input.IsCheck.HasValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user