From 38229a897270bee6a45cc416f3b245e3ec43e446 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 5 Jul 2022 15:11:45 +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/ReadingMedicalReviewDto.cs | 6 ++++++ .../Service/Reading/ReadingMedicalReviewService.cs | 3 ++- IRaCIS.Core.Domain/Reading/ReadingMedicalReviewDialog.cs | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs index 8e776395c..3b06bac44 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs @@ -103,6 +103,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto public string CreateUserName { get; set; } + + + /// + /// 图片路径 + /// + public string ImagePath { get; set; } = string.Empty; } public class GetMedicalReviewDialogInDto diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs index aaf252e33..2342e40c3 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs @@ -271,6 +271,7 @@ namespace IRaCIS.Core.Application.Service Questioning=inDto.Questioning, VisitTaskId= visitTaskId, UserTypeEnumInt = _userInfo.UserTypeEnumInt, + ImagePath= ImagePath, }); } @@ -340,7 +341,7 @@ namespace IRaCIS.Core.Application.Service x.IsCurrentUser = x.CreateUserId == _userInfo.Id; }); return (result,new { - taskMedicalReview.ImagePath, + taskMedicalReview.IsClosedDialog, }); } diff --git a/IRaCIS.Core.Domain/Reading/ReadingMedicalReviewDialog.cs b/IRaCIS.Core.Domain/Reading/ReadingMedicalReviewDialog.cs index 9d42fc1ee..5710e783f 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingMedicalReviewDialog.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingMedicalReviewDialog.cs @@ -84,6 +84,12 @@ namespace IRaCIS.Core.Domain.Models [ForeignKey("CreateUserId")] public User CreateUser { get; set; } + + /// + /// 图片路径 + /// + public string ImagePath { get; set; } = string.Empty; + }