Commit c64c8710 by jcm

2022.9.5

parent e92effa3
...@@ -50,7 +50,7 @@ public class QuestionService { ...@@ -50,7 +50,7 @@ public class QuestionService {
if (vo.getGroupId() != null) { if (vo.getGroupId() != null) {
lambdaQuery.eq(Question::getGroupId, vo.getGroupId()); lambdaQuery.eq(Question::getGroupId, vo.getGroupId());
} }
lambdaQuery.orderByAsc(Question::getId); lambdaQuery.eq(Question::getIsVisible, 1).orderByAsc(Question::getId);
lambdaQuery.eq(Question::getLotteryId, vo.getLotteryId()); lambdaQuery.eq(Question::getLotteryId, vo.getLotteryId());
return questionDao.selectList(lambdaQuery); return questionDao.selectList(lambdaQuery);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment