|
|
@ -115,6 +115,15 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
result.ShouldNotBeNull(); |
|
|
|
_fileContainer.SaveAsync(filename, result.Result, true); |
|
|
|
|
|
|
|
//比对完成后更新状态
|
|
|
|
var pubSaEntityList = _settleAccountDbContext.Set<HBPO_SA>().Where(t => t.Version == version && t.BusinessType == businessType).ToList(); |
|
|
|
foreach (var item in pubSaEntityList) |
|
|
|
{ |
|
|
|
item.State = "2"; |
|
|
|
} |
|
|
|
|
|
|
|
_settleAccountDbContext.SaveChanges(); |
|
|
|
|
|
|
|
Notify(); |
|
|
|
return id.ToString(); |
|
|
|
} |
|
|
|