Commit a200ce07 authored by xinglei's avatar xinglei

*)修改前端分页参数传入为Long类型

parent 5bc42bc7
...@@ -1799,13 +1799,12 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD ...@@ -1799,13 +1799,12 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
List<String> state = Lists.newArrayList(((String) pageParam.get("dangerState")).split(",")); List<String> state = Lists.newArrayList(((String) pageParam.get("dangerState")).split(","));
pageParam.put("dangerState", state); pageParam.put("dangerState", state);
} }
if (!ValidationUtil.isEmpty(dangerIdList)) { if (!ValidationUtil.isEmpty(dangerIdList)) {
pageParam.put("dangerIds", dangerIdList); pageParam.put("dangerIds", dangerIdList);
} }
IPage<LatentDanger> iPage = this.baseMapper.selectPageByParam(new Page(Long.parseLong((String) pageParam.get("current")), IPage<LatentDanger> iPage = this.baseMapper.selectPageByParam(new Page(Long.valueOf(pageParam.getCurrent()),
Long.parseLong((String) pageParam.get("size"))), (Map<String, Object>) pageParam); Long.valueOf(pageParam.getSize())), (Map<String, Object>) pageParam);
Map<Long, String> buildingAbsolutePositionMap = new HashMap<>(); Map<Long, String> buildingAbsolutePositionMap = new HashMap<>();
if (!ValidationUtil.isEmpty(iPage.getRecords())) { if (!ValidationUtil.isEmpty(iPage.getRecords())) {
try { try {
......
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