自动签收bug

This commit is contained in:
2024-11-04 14:33:14 +08:00
parent 287bf4d97d
commit 69609c06e7
3 changed files with 87 additions and 57 deletions

View File

@@ -2712,16 +2712,16 @@ namespace Tnb.WarehouseMgr
if (carry.carrystd_id == WmsWareHouseConst.CARRY_ZYXCSTD_ID || carry.carrystd_id == WmsWareHouseConst.CARRY_ZYLJSTD_ID)
{
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbindWithoutTran(new CarryCodeUnbindInput()
{
carry_id = carry.id
},_db);
if (result.code != HttpStatusCode.OK)
{
throw Oops.Bah(result.msg);
}
// Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbindWithoutTran(new CarryCodeUnbindInput()
// {
// carry_id = carry.id
// },_db);
//
//
// if (result.code != HttpStatusCode.OK)
// {
// throw Oops.Bah(result.msg);
// }
//deleteCarryCodeIds.Add(carry.id);
// int row = await db.Deleteable<WmsCarryCode>().Where(r => r.carry_id == carry.id).ExecuteCommandAsync();