Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
99601959d6
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs
  2. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs
  3. 9
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs

@ -211,7 +211,7 @@ into temp1
public async Task<bool> WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial) public async Task<bool> WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial)
{ {
var _entityList= _wmsRepository.Where(p => p.Id == detial.Id).ToList(); var _entityList= _wmsRepository.Where(p => p.Id == detial.BranchId).ToList();
if (_entityList.Count() > 0) if (_entityList.Count() > 0)
{ {
foreach (var itm in _entityList) foreach (var itm in _entityList)

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs

@ -319,7 +319,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
public async Task<bool> WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial) public async Task<bool> WmsSharePartUpdate(WmsHQHSharePartOutPutDetial detial)
{ {
var _entityList = _wmsRepository.Where(p => p.Id == detial.Id).ToList(); var _entityList = _wmsRepository.Where(p => p.Id == detial.BranchId).ToList();
if (_entityList.Count() > 0) if (_entityList.Count() > 0)
{ {
foreach (var itm in _entityList) foreach (var itm in _entityList)

9
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs

@ -491,6 +491,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
Qty = qty; Qty = qty;
StockQty = stockQty; StockQty = stockQty;
OutPutQty = outputQty; OutPutQty = outputQty;
BranchId = Id;
} }
public void SetId(Guid id) public void SetId(Guid id)
{ {
@ -848,7 +849,8 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
Qty = qty; Qty = qty;
StockQty = stockQty; StockQty = stockQty;
OutPutQty = outPutQty; OutPutQty = outPutQty;
BranchId = Id;
} }
public void SetId(Guid id) public void SetId(Guid id)
{ {
@ -1083,6 +1085,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
Qty = qty; Qty = qty;
StockQty = stockQty; StockQty = stockQty;
OutPutQty = outputQty; OutPutQty = outputQty;
BranchId = Id;
} }
public void SetId(Guid id) public void SetId(Guid id)
{ {

Loading…
Cancel
Save