diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdFeedingService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdFeedingService.cs index 8b4f86e6..ff56e487 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdFeedingService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdFeedingService.cs @@ -427,17 +427,23 @@ namespace Tnb.ProductionMgr use_num = 0, }); - Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryUnbind(new CarryBindInput() + // Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryUnbind(new CarryBindInput() + // { + // org = prdFeedingH.org_id, + // create_id = prdFeedingH.create_id, + // carry_id = prdFeedingH.carry_id, + // carry_code = prdFeedingH.carry_code, + // carrystd_id = carry.carrystd_id, + // membercarry_code = detail.member_carry_code, + // membercarry_id = detail.member_carry_id, + // }); + + Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput() { - org = prdFeedingH.org_id, - create_id = prdFeedingH.create_id, - carry_id = prdFeedingH.carry_id, - carry_code = prdFeedingH.carry_code, - carrystd_id = carry.carrystd_id, - membercarry_code = detail.member_carry_code, - membercarry_id = detail.member_carry_id, + carry_id = detail.member_carry_id }); + if (result.code != JNPF.Common.Enums.HttpStatusCode.OK) { throw Oops.Bah(result.msg);