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. 7
      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)
{
var _entityList= _wmsRepository.Where(p => p.Id == detial.Id).ToList();
var _entityList= _wmsRepository.Where(p => p.Id == detial.BranchId).ToList();
if (_entityList.Count() > 0)
{
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)
{
var _entityList = _wmsRepository.Where(p => p.Id == detial.Id).ToList();
var _entityList = _wmsRepository.Where(p => p.Id == detial.BranchId).ToList();
if (_entityList.Count() > 0)
{
foreach (var itm in _entityList)

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

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

Loading…
Cancel
Save