修改pcwg 判断
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f8ba3019e6
commit
8f5d391c0d
|
@ -1090,7 +1090,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
var list = await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == visitTaskId &&
|
var list = await _readingTableQuestionAnswerRepository.Where(x => x.VisitTaskId == visitTaskId &&
|
||||||
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.LesionNumber && x.ReadingQuestionTrial.LesionType == LesionType.BaselineLesions).Select(t => t.Answer).ToListAsync();
|
x.ReadingTableQuestionTrial.QuestionMark == QuestionMark.LesionNumber && x.ReadingQuestionTrial.LesionType == LesionType.BaselineLesions).Select(t => t.Answer).ToListAsync();
|
||||||
|
|
||||||
bool exists = list.Any(s => int.TryParse(s, out var n) && n > 100);
|
bool exists = list.Any(s => int.TryParse(s, out var n) && n >= 1);
|
||||||
if (exists)
|
if (exists)
|
||||||
{
|
{
|
||||||
enrollAnswer = _userInfo.IsEn_Us ? "Yes" : "是";
|
enrollAnswer = _userInfo.IsEn_Us ? "Yes" : "是";
|
||||||
|
|
Loading…
Reference in New Issue