Ver código fonte

修改问题分布接口

tags/v1.1.0
wanghaoran 2 anos atrás
pai
commit
d1c34945c5
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/QuestionServiceImpl.java Ver arquivo

@@ -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());

Carregando…
Cancelar
Salvar