自动签收bug
This commit is contained in:
@@ -742,16 +742,16 @@ namespace Tnb.ProductionMgr
|
||||
}
|
||||
else
|
||||
{
|
||||
Result result = await _wmsCarryUnbindService.CarryCodeUnbindWithoutTran(new CarryCodeUnbindInput()
|
||||
{
|
||||
carry_id = detail.member_carry_id
|
||||
},_db);
|
||||
|
||||
|
||||
if (result.code != HttpStatusCode.OK)
|
||||
{
|
||||
throw Oops.Bah(result.msg);
|
||||
}
|
||||
// Result result = await _wmsCarryUnbindService.CarryCodeUnbindWithoutTran(new CarryCodeUnbindInput()
|
||||
// {
|
||||
// carry_id = detail.member_carry_id
|
||||
// },_db);
|
||||
//
|
||||
//
|
||||
// if (result.code != HttpStatusCode.OK)
|
||||
// {
|
||||
// throw Oops.Bah(result.msg);
|
||||
// }
|
||||
//deleteCarryCodeIds.Add(detail.member_carry_id);
|
||||
// int row = await db.Deleteable<WmsCarryCode>().Where(r => r.carry_id == detail.member_carry_id).ExecuteCommandAsync();
|
||||
// Log.Information($"载具{detail.member_carry_id}已解绑,解绑条数{row}");
|
||||
@@ -761,16 +761,16 @@ namespace Tnb.ProductionMgr
|
||||
|
||||
if (carry.carrystd_id == WmsWareHouseConst.CARRY_ZYXCSTD_ID || carry.carrystd_id == WmsWareHouseConst.CARRY_ZYLJSTD_ID)
|
||||
{
|
||||
Result result = await _wmsCarryUnbindService.CarryCodeUnbindWithoutTran(new CarryCodeUnbindInput()
|
||||
{
|
||||
carry_id = carry.id
|
||||
},_db);
|
||||
|
||||
|
||||
if (result.code != HttpStatusCode.OK)
|
||||
{
|
||||
throw Oops.Bah(result.msg);
|
||||
}
|
||||
// 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();
|
||||
|
||||
Reference in New Issue
Block a user