增加导出信息
parent
3d5be3b368
commit
f2f195781b
|
@ -7,7 +7,7 @@
|
|||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"RemoteNew": "Server=192.168.3.69,1434;Database=Test_510K;User ID=sa;Password=xc@123456;TrustServerCertificate=true"
|
||||
"RemoteNew": "Server=192.168.3.68,1434;Database=Test_510K;User ID=sa;Password=xc@123456;TrustServerCertificate=true"
|
||||
},
|
||||
"BasicSystemConfig": {
|
||||
|
||||
|
|
|
@ -72,6 +72,20 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
_trialReadingCriterionRepository = trialReadingCriterionRepository;
|
||||
}
|
||||
|
||||
|
||||
public async Task<VisitTaskExportInfo> GetExportInfo(Guid visitTaskId)
|
||||
{
|
||||
return await _visitTaskRepository.Where(t => t.Id == visitTaskId).Select(t => new VisitTaskExportInfo()
|
||||
{
|
||||
SignTime = t.SignTime,
|
||||
SignUser = t.DoctorUser.FullName,
|
||||
SubejectGender = t.Subject.Sex,
|
||||
SubjctAge = t.Subject.Age,
|
||||
SubjectCode = t.Subject.Code,
|
||||
}).FirstNotNullAsync();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置任务加急
|
||||
/// </summary>
|
||||
|
|
|
@ -1072,7 +1072,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
|||
if (nameList.Count() > 0)
|
||||
{
|
||||
|
||||
return ResponseOutput.NotOk($"After submitted the current study batch, please process the unsubmitted previous study batchs as soon as possible :{string.Join('、', nameList)}。", 0, ApiResponseCodeEnum.NeedTips);
|
||||
return ResponseOutput.NotOk($"After submitted the current study batch, please process the unsubmitted previous study batches as soon as possible :{string.Join('、', nameList)}。", 0, ApiResponseCodeEnum.NeedTips);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -330,6 +330,17 @@ namespace IRaCIS.Application.Contracts
|
|||
public Guid TrialReadingCriterionId { get; set; }
|
||||
}
|
||||
|
||||
public class VisitTaskExportInfo
|
||||
{
|
||||
public string SubjectCode { get; set; }
|
||||
public string SubejectGender { get; set; }
|
||||
public int? SubjctAge { get; set; }
|
||||
|
||||
public string SignUser { get; set; }
|
||||
|
||||
public DateTime? SignTime { get; set; }
|
||||
|
||||
}
|
||||
public class TrialReadingCriterionDto
|
||||
{
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
|
|
Loading…
Reference in New Issue