Commit fea4f572 by “Kongxiangkun”

投票明细增加分页

parent e5e64d3f
......@@ -424,13 +424,13 @@ public class TrResearchQuestionServiceImpl extends ServiceImpl<TrResearchQuestio
@Override
public List<TrResearchQuestion> listPage(Map<String, Object> map) {
Long researchId = (Long) map.get("researchId");
Integer pageNo = (Integer) map.get("pageNo");
Integer pageSize = (Integer) map.get("pageSize");
if (pageNo == null) {
pageNo = 1;
Integer pageNo = 1;
Integer pageSize = Integer.MAX_VALUE;
if (map.get("pageNo") != null) {
pageNo = (Integer) map.get("pageNo");
}
if (pageSize == null) {
pageSize = Integer.MAX_VALUE;
pageNo = (Integer) map.get("pageSize");
}
TrResearchQuestion example = new TrResearchQuestion();
example.setResearchId(researchId);
......
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