|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|