|
|
@@ -118,7 +118,7 @@ public class QuestionServiceImpl extends BaseServiceImpl<QuestionMapper, Questio |
|
|
|
|
|
|
|
if((ObjectUtil.isNotEmpty(query.getStartTime()) && ObjectUtil.isNotEmpty(query.getEndTime())) |
|
|
|
|| StringUtils.isNotEmpty(query.getMissionName())){ |
|
|
|
questionLambdaQueryWrapper.like(Question::getMissionName, query.getMissionName()); |
|
|
|
questionLambdaQueryWrapper.like(StringUtils.isNotEmpty(query.getMissionName()), Question::getMissionName, query.getMissionName()); |
|
|
|
}else { |
|
|
|
//只需要取最上面的那一条 |
|
|
|
questionLambdaQueryWrapper.eq(Question::getMissionId, thMissions.get(0).getId()); |