Browse Source

更新

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

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

@ -52,7 +52,7 @@ 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)
@ -117,7 +117,7 @@ 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.;
@ -126,10 +126,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
await _repository.DbContext.BulkReadAsync(ls); await _repository.DbContext.BulkReadAsync(ls);
return true; return true;
} }
public virtual
} }
} }

Loading…
Cancel
Save