Commit a200ce07 authored by xinglei's avatar xinglei

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

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