From b45c2d5c7f49e043546b5996fb8941e26cd29fc1 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Thu, 23 Jun 2022 15:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 2 ++ .../Service/Reading/ReadingImageTaskService.cs | 4 +++- IRaCIS.Core.Domain/Allocation/VisitTask.cs | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index 75b040a56..946846908 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -138,6 +138,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public Guid VisitTaskId { get; set; } public Guid JudgeResultTaskId { get; set; } + + public string JudgeResultRemark { get; set; } = string.Empty; } public class GetJudgeReadingInfo diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs index 8541af15e..6185cd63b 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs @@ -350,7 +350,8 @@ namespace IRaCIS.Application.Services { await _visitTaskRepository.UpdatePartialFromQueryAsync(inDto.VisitTaskId, x => new VisitTask() { - JudgeResultTaskId = inDto.JudgeResultTaskId + JudgeResultTaskId = inDto.JudgeResultTaskId, + JudgeResultRemark = inDto.JudgeResultRemark, }); var result=await _visitTaskRepository.SaveChangesAsync(); return ResponseOutput.Ok(result); @@ -368,6 +369,7 @@ namespace IRaCIS.Application.Services { JudgeResultTaskId = inDto.JudgeResultTaskId, ReadingTaskState = ReadingTaskState.HaveSigned, + JudgeResultRemark = inDto.JudgeResultRemark, SignTime = DateTime.Now, }); var result = await _visitTaskRepository.SaveChangesAsync(); diff --git a/IRaCIS.Core.Domain/Allocation/VisitTask.cs b/IRaCIS.Core.Domain/Allocation/VisitTask.cs index b955798ae..5b0dbf034 100644 --- a/IRaCIS.Core.Domain/Allocation/VisitTask.cs +++ b/IRaCIS.Core.Domain/Allocation/VisitTask.cs @@ -196,6 +196,12 @@ namespace IRaCIS.Core.Domain.Models /// public Guid? JudgeResultTaskId { get; set; } + /// + /// 裁判结果的备注 + /// + public string JudgeResultRemark { get; set; } = string.Empty; + + //建议完成时间 //public int SuggesteDays { get; set; }