Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
0e0cf881be
|
@ -1379,7 +1379,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
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)
|
||||
.Select(u => new { u.TrialQCQuestionConfigureId, u.Answer }).ToListAsync();
|
||||
|
@ -1402,6 +1402,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
QcQuestionAnswerList = answerList.Join(trialQuestionNameList, t => t.TrialQCQuestionConfigureId, u => u.TrialQCQuestionConfigureId, (t, u) => new
|
||||
{
|
||||
t.Answer,
|
||||
|
||||
u.QuestionName,
|
||||
u.ShowOrder
|
||||
}).OrderBy(t => t.ShowOrder).ToList(),
|
||||
|
@ -2808,7 +2809,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
//获取问题名称 组合成数组
|
||||
var quesionList = await _dbContext.ReadingQuestionTrial.Where(t => taskQuestionAnswerList.Select(k => k.ReadingQuestionTrialId).Contains(t.Id)).IgnoreQueryFilters().Select(t => new
|
||||
{
|
||||
t.QuestionName,
|
||||
QuestionName=_userInfo.IsEn_Us?t.QuestionEnName: t.QuestionName,
|
||||
t.QuestionEnName,
|
||||
QuestionId = t.Id,
|
||||
t.DictionaryCode,
|
||||
|
|
Loading…
Reference in New Issue