|
@ -304,7 +304,7 @@ public class QuestionService implements IQuestionService { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
Integer maxSort = htQuestionDao.selectMaxSort(question.getEvaluationCode()); |
|
|
Integer maxSort = htQuestionDao.selectMaxSort(question.getEvaluationCode()); |
|
|
if (question.getSort() != null && question.getSort().intValue() >= maxSort) { |
|
|
if (question.getSort() != null && maxSort != null && question.getSort().intValue() >= maxSort) { |
|
|
report.setShowStatus(Constant.Ht.Report.SHOW_HISTORY); |
|
|
report.setShowStatus(Constant.Ht.Report.SHOW_HISTORY); |
|
|
htPatientReportMapper.updateByPrimaryKeySelective(report); |
|
|
htPatientReportMapper.updateByPrimaryKeySelective(report); |
|
|
} |
|
|
} |
|
|