出库签收后载具库位清空
This commit is contained in:
@@ -72,7 +72,10 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
var loc = await _db.Queryable<BasLocation>().SingleAsync(it => it.id == carry.location_id);
|
||||
loc.is_use = (int)EnumCarryStatus.空闲;
|
||||
carry.location_id = null;
|
||||
carry.location_code = null;
|
||||
await _db.Updateable(loc).UpdateColumns(it => it.is_use).ExecuteCommandAsync();
|
||||
await _db.Updateable(carry).UpdateColumns(it => new { it.location_id,it.location_code }).ExecuteCommandAsync();
|
||||
}
|
||||
var disTask = await _db.Queryable<WmsDistaskH>().SingleAsync(it => it.id == input.disTaskId);
|
||||
if (disTask != null)
|
||||
|
||||
Reference in New Issue
Block a user