This commit is contained in:
alex
2023-06-27 09:47:06 +08:00
parent 534d27e5f0
commit fbfd0c54d8
19 changed files with 31 additions and 25 deletions

View File

@@ -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);