Browse Source

解决任务列表列表接口报错

master
mahao 1 year ago
parent
commit
f306ab060d
  1. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs
  2. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Jobs/TaskJobService.cs

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/TaskJobs/JobAppService.cs

@ -37,7 +37,7 @@ namespace Win.Sfs.SettleAccount.Entities.TaskJobs
/// </summary> /// </summary>
[HttpPost] [HttpPost]
[Route("list")] [Route("list")]
[UnitOfWork(IsDisabled = false)] [UnitOfWork(false)]
public virtual async Task<PagedResultDto<JobDto>> GetListAsync(JobRequestDto input) public virtual async Task<PagedResultDto<JobDto>> GetListAsync(JobRequestDto input)
{ {
var lists = await _service.GetListAsync(input).ConfigureAwait(false); var lists = await _service.GetListAsync(input).ConfigureAwait(false);

3
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); return await _mng.UpdateAsync(p_id, remark).ConfigureAwait(false);
} }
[UnitOfWork(IsDisabled = false)] [UnitOfWork(false)]
public virtual async Task<List<JobDto>> GetListAsync(JobRequestDto input) public virtual async Task<List<JobDto>> GetListAsync(JobRequestDto input)
{ {
var _job = new Job(input.Id, var _job = new Job(input.Id,

Loading…
Cancel
Save