diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs index c9a6cfb9..19f20419 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs @@ -37,7 +37,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs /// [HttpPost] [Route("list")] - [UnitOfWork(IsDisabled = false)] + [UnitOfWork(false)] public virtual async Task> GetListAsync(JobRequestDto input) { var lists = await _service.GetListAsync(input).ConfigureAwait(false); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs index 5388d22e..acfa9238 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs @@ -69,8 +69,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs return await _mng.UpdateAsync(p_id, remark).ConfigureAwait(false); } - [UnitOfWork(IsDisabled = false)] - + [UnitOfWork(false)] public virtual async Task> GetListAsync(JobRequestDto input) { var _job = new Job(input.Id,