From f306ab060dbe4971e08ac5ba70242aa04617111e Mon Sep 17 00:00:00 2001 From: mahao Date: Thu, 21 Sep 2023 14:29:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BB=BB=E5=8A=A1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/TaskJobs/JobAppService.cs | 2 +- .../src/SettleAccount.Application/Jobs/TaskJobService.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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,