|
|
|
@ -70,14 +70,14 @@ public class QuestionsServiceImpl extends ServiceImpl<QuestionsDao, QuestionsEnt |
|
|
|
|
if (request.getQuestionStem() != null) { |
|
|
|
|
queryWrapper.like("question_stem", request.getQuestionStem()); |
|
|
|
|
} |
|
|
|
|
//TODO 扩展搜索条件
|
|
|
|
|
// 题型:判断题型是否为空,不为空则加入搜索条件
|
|
|
|
|
// if (questionsRequest.getQuestionType() != null) {
|
|
|
|
|
// queryWrapper.eq("question_type", questionsRequest.getQuestionType());
|
|
|
|
|
// }
|
|
|
|
|
if (request.getQuestionTypeNo() != null) { |
|
|
|
|
queryWrapper.eq("question_type_no", request.getQuestionTypeNo()); |
|
|
|
|
} |
|
|
|
|
//TODO 扩展搜索条件
|
|
|
|
|
// 修改时间:判断修改时间是否为空,不为空则加入搜索条件
|
|
|
|
|
// if (questionsRequest.getModifyTime() != null) {
|
|
|
|
|
// queryWrapper.eq("modify_time", questionsRequest.getModifyTime());
|
|
|
|
|
// if (request.getModifyTime() != null) {
|
|
|
|
|
// queryWrapper.eq("modify_time", request.getModifyTime());
|
|
|
|
|
// }
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|