修改提示

Uat_Study
hang 2022-05-12 15:35:58 +08:00
parent f18cd3ebb3
commit a8df6ef4d5
5 changed files with 8 additions and 7 deletions

View File

@ -1647,7 +1647,7 @@
</member> </member>
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.UpdateSubjectAndSVInfo(IRaCIS.Core.Application.Contracts.UploadSubjectAndVisitCommand)"> <member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.UpdateSubjectAndSVInfo(IRaCIS.Core.Application.Contracts.UploadSubjectAndVisitCommand)">
<summary> <summary>
上传界面 更新受试者首次给药日期 是否入组确认,以及访视 是否PD进展 上传界面 更新受试者访视基准日期 是否入组确认,以及访视 是否PD进展
</summary> </summary>
<param name="command"></param> <param name="command"></param>
<returns></returns> <returns></returns>

View File

@ -53,6 +53,7 @@ namespace IRaCIS.Application.Services
/Best Regards. /Best Regards.
" "
}; };
using (var smtp = new MailKit.Net.Smtp.SmtpClient()) using (var smtp = new MailKit.Net.Smtp.SmtpClient())
{ {

View File

@ -1010,7 +1010,7 @@ namespace IRaCIS.Core.Application.Image.QA
if (await _subjectVisitRepository.AnyAsync(t => t.Trial.QCQuestionConfirmedUserId == null && t.Id == subjectVisitId)) if (await _subjectVisitRepository.AnyAsync(t => t.Trial.QCQuestionConfirmedUserId == null && t.Id == subjectVisitId))
{ {
return ResponseOutput.NotOk("QC问题未确认不允许领取任务"); return ResponseOutput.NotOk("QC问题未确认不允许领取任务", ApiResponseCodeEnum.NeedTips);
} }
@ -1209,7 +1209,7 @@ namespace IRaCIS.Core.Application.Image.QA
//基线不验证 //基线不验证
if (trialConfig.IsHaveFirstGiveMedicineDate && !dbSubjectVisit.IsBaseLine && dbSubjectVisit.Subject.FirstGiveMedicineTime == null) if (trialConfig.IsHaveFirstGiveMedicineDate && !dbSubjectVisit.IsBaseLine && dbSubjectVisit.Subject.FirstGiveMedicineTime == null)
{ {
return ResponseOutput.NotOk("项目配置了需要填写首次给药日期 但是受试者没有填写首次给药日期,不允许提交"); return ResponseOutput.NotOk("项目配置了需要填写访视基准日期 但是受试者没有填写访视基准日期,不允许提交");
} }
//基线 且配置了临床数据 //基线 且配置了临床数据
@ -1741,7 +1741,7 @@ namespace IRaCIS.Core.Application.Image.QA
/// <summary> /// <summary>
/// 上传界面 更新受试者首次给药日期 是否入组确认,以及访视 是否PD进展 /// 上传界面 更新受试者访视基准日期 是否入组确认,以及访视 是否PD进展
/// </summary> /// </summary>
/// <param name="command"></param> /// <param name="command"></param>
/// <returns></returns> /// <returns></returns>

View File

@ -89,7 +89,7 @@ namespace IRaCIS.Application.Services
{ {
// 最开始过滤site已经选择的用户 现在又改回去。。。 // 最开始过滤site已经选择的用户 现在又改回去。。。
var query = _trialUseRepository.Where(t => t.TrialId == param.TrialId) var query = _trialUseRepository.Where(t => t.TrialId == param.TrialId).IgnoreQueryFilters()
.Where(t => t.User.UserTypeEnum == UserTypeEnum.ClinicalResearchCoordinator) .Where(t => t.User.UserTypeEnum == UserTypeEnum.ClinicalResearchCoordinator)
.WhereIf(param.UserTypeId != null, t => t.User.UserTypeId == param.UserTypeId) .WhereIf(param.UserTypeId != null, t => t.User.UserTypeId == param.UserTypeId)
.WhereIf(!string.IsNullOrWhiteSpace(param.UserRealName), t => (t.User.FullName).Contains(param.UserRealName)) .WhereIf(!string.IsNullOrWhiteSpace(param.UserRealName), t => (t.User.FullName).Contains(param.UserRealName))

View File

@ -88,7 +88,7 @@ namespace IRaCIS.Core.Application.Services
} }
//更新受试者 首次给药日期 是否入组确认 //更新受试者 访视基准日期 是否入组确认
if (svCommand.SubjectFirstGiveMedicineTime != null && svCommand.IsBaseLine) if (svCommand.SubjectFirstGiveMedicineTime != null && svCommand.IsBaseLine)
{ {