1 前段使用bootstrap table 显示数据表格(包括分页功能),后端返回类型为PageBean时 前无需做特殊处理
部分代码为
maplist=customerService.search(map);
int count = customerService.searchCount(map);
PageBean pageBean = new PageBean();
pageBean.setTotal(count);
pageBean.setRows(maplist);
1 前段使用bootstrap table 显示数据表格(包括分页功能),后端返回类型为PageBean时 前无需做特殊处理
部分代码为
maplist=customerService.search(map);
int count = customerService.searchCount(map);
PageBean pageBean = new PageBean();
pageBean.setTotal(count);
pageBean.setRows(maplist);