修改
This commit is contained in:
@@ -251,15 +251,14 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
|
||||
public string CreateUserName { get; set; }
|
||||
|
||||
|
||||
public List<string> FileNameList { get; set; }
|
||||
|
||||
|
||||
public List<string> ImagePathList { get; set; }
|
||||
public List<ImageInfo> FileList { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class GetMedicalReviewDialogInDto
|
||||
{
|
||||
[NotDefault]
|
||||
@@ -413,16 +412,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public string DialogCloseReason { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class SaveMedicalReviewInfoInDto
|
||||
{
|
||||
public bool IsSendDialog { get; set; }
|
||||
|
||||
public Guid TaskMedicalReviewId { get; set; }
|
||||
|
||||
|
||||
public List<string> FileNameList { get; set; }
|
||||
|
||||
public List<string> ImagePathList { get; set; }
|
||||
public List<ImageInfo> FileList { get; set; } = new List<ImageInfo>();
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -469,10 +468,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public string Questioning { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public List<string> FileNameList { get; set; }
|
||||
|
||||
|
||||
public List<string> ImagePathList { get; set; }
|
||||
public List<ImageInfo> FileList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核建议
|
||||
|
||||
@@ -10,6 +10,7 @@ using IRaCIS.Core.Application.Service.Reading.Dto;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Panda.DynamicWebApi.Attributes;
|
||||
using IRaCIS.Core.Application.Contracts;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
@@ -331,12 +332,12 @@ namespace IRaCIS.Core.Application.Service
|
||||
IsHaveQuestion = inDto.IsHaveQuestion,
|
||||
Questioning = inDto.Questioning,
|
||||
IsSendMessage = inDto.IsSendDialog && inDto.IsHaveQuestion,
|
||||
ImagePath = string.Join(',',inDto.ImagePathList),
|
||||
FileName = string.Join(',', inDto.FileNameList),
|
||||
ImagePath = JsonConvert.SerializeObject(inDto.FileList),
|
||||
|
||||
AuditAdviceEnum = inDto.AuditAdviceEnum,
|
||||
SaveConclusionTime = DateTime.Now,
|
||||
|
||||
}); ;
|
||||
});
|
||||
|
||||
var medicalReview = await _taskMedicalReviewRepository.Where(x => x.Id == inDto.TaskMedicalReviewId).FirstNotNullAsync();
|
||||
if (inDto.IsSendDialog&& !medicalReview.IsSendMessage && inDto.IsHaveQuestion)
|
||||
@@ -350,9 +351,9 @@ namespace IRaCIS.Core.Application.Service
|
||||
IsHaveQuestion=inDto.IsHaveQuestion,
|
||||
Questioning=inDto.Questioning,
|
||||
VisitTaskId= medicalReview.VisitTaskId,
|
||||
FileName = medicalReview.FileName,
|
||||
|
||||
UserTypeEnumInt = _userInfo.UserTypeEnumInt,
|
||||
ImagePath= medicalReview.ImagePath,
|
||||
ImagePath = JsonConvert.SerializeObject(inDto.FileList),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user