小程序问卷提交
This commit is contained in:
parent
de9065e8d6
commit
bd46ebb7f4
@ -190,7 +190,7 @@ public class HomePageServiceImpl implements HomePageService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 新增患者问卷题目提交结果
|
// 新增患者问卷题目提交结果
|
||||||
if (patientQuestionSubjectResultMapper.saveQuestionSubjectList(patientQuestionSubjectResults) <= 0) {
|
if (patientQuestionSubjectResultMapper.saveQuestionSubjectList(patientQuestionSubjectResults) < 0) {
|
||||||
throw new ServiceException("新增患者问卷题目提交结果失败");
|
throw new ServiceException("新增患者问卷题目提交结果失败");
|
||||||
}
|
}
|
||||||
if (CollectionUtils.isEmpty(patientQuestionOptionResults)) {
|
if (CollectionUtils.isEmpty(patientQuestionOptionResults)) {
|
||||||
@ -208,7 +208,7 @@ public class HomePageServiceImpl implements HomePageService {
|
|||||||
saveQuestionSubjectOptions.add(saveQuestionOption);
|
saveQuestionSubjectOptions.add(saveQuestionOption);
|
||||||
}
|
}
|
||||||
// 新增患者问卷题目选项提交结果
|
// 新增患者问卷题目选项提交结果
|
||||||
if (patientQuestionOptionResultMapper.saveQuestionOptionList(saveQuestionSubjectOptions) <= 0) {
|
if (patientQuestionOptionResultMapper.saveQuestionOptionList(saveQuestionSubjectOptions) < 0) {
|
||||||
throw new ServiceException("新增患者问卷题目选项提交结果失败");
|
throw new ServiceException("新增患者问卷题目选项提交结果失败");
|
||||||
}
|
}
|
||||||
return AjaxResult.success();
|
return AjaxResult.success();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user