修改下货纸比对

optimize
jianghaiqing 2 years ago
parent e2ba515a52
commit a6be1d9a39

@ -359,7 +359,8 @@ namespace Myshipping.Application
it.LstShipOrderCompareId, it.LstShipOrderCompareId,
it.LstShipOrderCompareDate, it.LstShipOrderCompareDate,
it.LstShipOrderCompareRlt, it.LstShipOrderCompareRlt,
it.LstShipOrderCompareRltName it.LstShipOrderCompareRltName,
it.LstShipOrderCompareMode
}).ExecuteCommandAsync(); }).ExecuteCommandAsync();
//记录日志 //记录日志
@ -975,7 +976,8 @@ namespace Myshipping.Application
it.CreatedUserName, it.CreatedUserName,
it.LstShipOrderCompareId, it.LstShipOrderCompareId,
it.LstShipOrderCompareDate, it.LstShipOrderCompareDate,
it.LstShipOrderCompareRltName it.LstShipOrderCompareRltName,
it.LstShipOrderCompareMode
}).ExecuteCommandAsync(); }).ExecuteCommandAsync();
var ctnlist = await _repCtn.AsQueryable().Where(x => x.BILLID == main.Id).Select(x => x.Id).ToListAsync(); var ctnlist = await _repCtn.AsQueryable().Where(x => x.BILLID == main.Id).Select(x => x.Id).ToListAsync();
await _repCtn.DeleteAsync(x => x.BILLID == main.Id); await _repCtn.DeleteAsync(x => x.BILLID == main.Id);

@ -135,8 +135,12 @@ namespace Myshipping.Application
if (orderInfo != null) if (orderInfo != null)
{ {
orderInfo.LstShipOrderCompareDate = bDate;
if (compareResult.succ) if (compareResult.succ)
{ {
orderInfo.LstShipOrderCompareMode = "MANUAL";
if (compareResult.extra.IsExistsDiff) if (compareResult.extra.IsExistsDiff)
{ {
orderInfo.LstShipOrderCompareRlt = "DIFF"; orderInfo.LstShipOrderCompareRlt = "DIFF";
@ -147,7 +151,6 @@ namespace Myshipping.Application
orderInfo.LstShipOrderCompareRlt = "NO_DIFF"; orderInfo.LstShipOrderCompareRlt = "NO_DIFF";
orderInfo.LstShipOrderCompareRltName = "正常"; orderInfo.LstShipOrderCompareRltName = "正常";
} }
orderInfo.LstShipOrderCompareDate = bDate;
} }
else else
{ {
@ -165,6 +168,7 @@ namespace Myshipping.Application
it.LstShipOrderCompareDate, it.LstShipOrderCompareDate,
it.LstShipOrderCompareRlt, it.LstShipOrderCompareRlt,
it.LstShipOrderCompareRltName, it.LstShipOrderCompareRltName,
it.LstShipOrderCompareMode,
}).ExecuteCommandAsync(); }).ExecuteCommandAsync();
} }

Loading…
Cancel
Save