|
|
@@ -86,6 +86,13 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
Date end = DateUtil.endOfDay(query.getSubmitRange()[1]);
|
|
|
wrapper.between(Question::getSubmitTime, start, end);
|
|
|
}
|
|
|
+ if(ObjectUtil.isNotNull(query.getSubmitTime())){
|
|
|
+ Date start = DateUtil.beginOfDay(query.getSubmitTime());
|
|
|
+ wrapper.ge(Question::getReformDeadline,start);
|
|
|
+
|
|
|
+ Date end = DateUtil.endOfDay(query.getSubmitTime());
|
|
|
+ wrapper.le(Question::getSubmitTime,end);
|
|
|
+ }
|
|
|
if (ObjectUtil.isNotEmpty(query.getSearchKey())) {
|
|
|
wrapper.and(w ->
|
|
|
w.like(Question::getCheckContent, query.getSearchKey()).or().like(Question::getSrcTaskName, query.getSearchKey())
|