|
@@ -25,8 +25,8 @@ public class DiagnoseQuestionFacade {
|
|
|
public IPage<DiagnoseQuestionPageDTO> queryQuestionPage(DiagnoseQuestionPageVO diagnoseQuestionPageVO) {
|
|
|
|
|
|
QueryWrapper<DiagnoseQuestion> diaQuery = new QueryWrapper<>();
|
|
|
- if(diagnoseQuestionPageVO.getQuestionType() != null && diagnoseQuestionPageVO.getQuestionType() != 0 ){
|
|
|
- diaQuery.eq("question_type",diagnoseQuestionPageVO.getQuestionType());
|
|
|
+ if(diagnoseQuestionPageVO.getType() != null && diagnoseQuestionPageVO.getType() != 0 ){
|
|
|
+ diaQuery.eq("type",diagnoseQuestionPageVO.getType());
|
|
|
}
|
|
|
diaQuery.like("dis_name",diagnoseQuestionPageVO.getDisName()).like("question_name",diagnoseQuestionPageVO.getQuestionCode()).eq("is_deleted",IsDeleteEnum.N.getKey());
|
|
|
|