下班提交
parent
b38ea09c59
commit
50e1ba6716
|
@ -3672,13 +3672,13 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ReadingMedicalReviewService.SaveMedicineQuestion(IRaCIS.Core.Application.Service.Reading.Dto.SaveMedicineQuestionInDto)">
|
<member name="M:IRaCIS.Core.Application.Service.ReadingMedicalReviewService.SaveMedicineQuestion(IRaCIS.Core.Application.Service.Reading.Dto.SaveMedicineQuestionInDto)">
|
||||||
<summary>
|
<summary>
|
||||||
保存医学审核问题
|
保存医学审核问题 答案
|
||||||
</summary>
|
</summary>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ReadingMedicalReviewService.SaveMedicalReviewInfo(IRaCIS.Core.Application.Service.Reading.Dto.SaveMedicalReviewInfoInDto)">
|
<member name="M:IRaCIS.Core.Application.Service.ReadingMedicalReviewService.SaveMedicalReviewInfo(IRaCIS.Core.Application.Service.Reading.Dto.SaveMedicalReviewInfoInDto)">
|
||||||
<summary>
|
<summary>
|
||||||
保存医学审核信息
|
保存医学审核 结论
|
||||||
</summary>
|
</summary>
|
||||||
<param name="inDto"></param>
|
<param name="inDto"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
|
|
|
@ -135,8 +135,16 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 系统文件签署 父层级未记录稽查(系统文档初始数据)
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SystemDocConfirmedUser)))
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
#region 已修改
|
||||||
|
|
||||||
|
// 系统文件签署 父层级未记录稽查(系统文档初始数据)
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SystemDocConfirmedUser)))
|
||||||
{
|
{
|
||||||
var type = GetEntityAuditOpt(item);
|
var type = GetEntityAuditOpt(item);
|
||||||
|
|
||||||
|
@ -206,7 +214,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
var trialQuestionIdList = list.Select(t => t.TrialQCQuestionConfigureId);
|
var trialQuestionIdList = list.Select(t => t.TrialQCQuestionConfigureId);
|
||||||
|
|
||||||
var trialQuestionNameList = await _dbContext.TrialQCQuestionConfigure.Where(x => x.TrialId==firstEntity.TrialId).Select(t => new { t.QuestionName , TrialQCQuestionConfigureId = t.Id,t.ShowOrder} ).ToListAsync();
|
var trialQuestionNameList = await _dbContext.TrialQCQuestionConfigure.Where(x => x.TrialId == firstEntity.TrialId).Select(t => new { t.QuestionName, TrialQCQuestionConfigureId = t.Id, t.ShowOrder }).ToListAsync();
|
||||||
|
|
||||||
var beforeAnswerList = await _dbContext.TrialQCQuestionAnswer.Where(x => x.SubjectVisitId == firstEntity.SubjectVisitId && x.CurrentQCEnum == firstEntity.CurrentQCEnum && x.QCProcessEnum == firstEntity.QCProcessEnum)
|
var beforeAnswerList = await _dbContext.TrialQCQuestionAnswer.Where(x => x.SubjectVisitId == firstEntity.SubjectVisitId && x.CurrentQCEnum == firstEntity.CurrentQCEnum && x.QCProcessEnum == firstEntity.QCProcessEnum)
|
||||||
.Select(u => new { u.TrialQCQuestionConfigureId, u.Answer }).ToListAsync();
|
.Select(u => new { u.TrialQCQuestionConfigureId, u.Answer }).ToListAsync();
|
||||||
|
@ -226,7 +234,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
ObjectRelationParentId = x.SubjectVisitId,
|
ObjectRelationParentId = x.SubjectVisitId,
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
QcQuestionAnswerList = answerList.Join(trialQuestionNameList, t=>t.TrialQCQuestionConfigureId,u=>u.TrialQCQuestionConfigureId,(t,u)=>new {t.Answer,u.QuestionName,u.ShowOrder}).OrderBy(t=>t.ShowOrder).ToList(),
|
QcQuestionAnswerList = answerList.Join(trialQuestionNameList, t => t.TrialQCQuestionConfigureId, u => u.TrialQCQuestionConfigureId, (t, u) => new { t.Answer, u.QuestionName, u.ShowOrder }).OrderBy(t => t.ShowOrder).ToList(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -308,12 +316,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
|
|
||||||
#region 已修改
|
|
||||||
|
|
||||||
|
|
||||||
//QC 质疑
|
//QC 质疑
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCChallenge)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCChallenge)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue