1
This commit is contained in:
@@ -22,6 +22,7 @@ using Tnb.WarehouseMgr.Entities;
|
||||
using Tnb.WarehouseMgr.Entities.Attributes;
|
||||
using Tnb.WarehouseMgr.Entities.Consts;
|
||||
using Tnb.WarehouseMgr.Entities.Dto;
|
||||
using Tnb.WarehouseMgr.Entities.Enums;
|
||||
using Tnb.WarehouseMgr.Interfaces;
|
||||
|
||||
namespace Tnb.WarehouseMgr
|
||||
@@ -90,9 +91,9 @@ namespace Tnb.WarehouseMgr
|
||||
wmsCarryUnbindCode.create_time = DateTime.Now;
|
||||
row = await _db.Insertable(wmsCarryUnbindCode).ExecuteCommandAsync();
|
||||
}
|
||||
carry.carry_status = "0";
|
||||
carry.carry_status = (int)EnumCarryStatus.空闲;
|
||||
row = await _db.Updateable(carry).ExecuteCommandAsync();
|
||||
subCarry.carry_status = "0";
|
||||
subCarry.carry_status = (int)EnumCarryStatus.空闲;
|
||||
row = await _db.Updateable(subCarry).ExecuteCommandAsync();
|
||||
isOk = (row > 0);
|
||||
if (!isOk) throw Oops.Oh(ErrorCode.COM1001);
|
||||
|
||||
Reference in New Issue
Block a user