Browse Source

更新

master
学 赵 1 year ago
parent
commit
7cde71fa78
  1. 13
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs

13
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/CAN_SA_MNG.cs

@ -51,8 +51,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
{ {
var ls = _repository.Where(p => p.InvGroupNum == p_billNum).ToList(); var ls = _repository.Where(p => p.InvGroupNum == p_billNum).ToList();
foreach(TEntity p_entiy in ls) foreach (TEntity p_entiy in ls)
{ {
switch (p_entiy.State) switch (p_entiy.State)
@ -102,7 +102,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
} }
return true; return true;
} }
@ -117,19 +117,20 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
public virtual async Task<bool> SetNewState(string billNUm) public virtual async Task<bool> SetNewState(string billNUm)
{ {
var ls=_repository.Where(p => p.InvGroupNum == billNUm).ToList(); var ls = _repository.Where(p => p.InvGroupNum == billNUm).ToList();
foreach (var l in ls) foreach (var l in ls)
{ {
l.State = SettleBillState.; l.State = SettleBillState.;
} }
await _repository.DbContext.BulkReadAsync(ls); await _repository.DbContext.BulkReadAsync(ls);
return true; return true;
} }
public virtual
} }
} }

Loading…
Cancel
Save