修改一版

This commit is contained in:
he
2022-07-07 15:15:50 +08:00
parent e85a397148
commit ae6b4c6892
4 changed files with 68 additions and 9 deletions
@@ -0,0 +1,16 @@
//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-07 14:10:49
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
//--------------------------------------------------------------------
using IRaCIS.Core.Application.ViewModel;
namespace IRaCIS.Core.Application.Service
{
public interface IVisitTaskService
{
Task<IResponseOutput> ApplyReReading(ApplyReReadingCommand applyReReadingCommand);
}
}
@@ -20,7 +20,7 @@ namespace IRaCIS.Core.Application.Service
/// 访视读片任务
/// </summary>
[ApiExplorerSettings(GroupName = "Trial")]
public class VisitTaskService : BaseService
public class VisitTaskService : BaseService, IVisitTaskService
{
private readonly IRepository<VisitTask> _visitTaskRepository;
@@ -990,12 +990,7 @@ namespace IRaCIS.Core.Application.Service
//产生新的任务
#region
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => x.IsClosedDialog && applyReReadingCommand.TaskIdList.Contains(x.VisitTaskId), x => new TaskMedicalReview()
{
IsClosedDialog = true
});
#endregion
await _visitTaskRepository.SaveChangesAsync();