解决相关数据分页不生效问题,修改交换机计算95值逻辑,使其精确到接口
This commit is contained in:
@@ -96,6 +96,15 @@ public class BaseController
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
}
|
||||
protected TableDataInfo getDataTable(List<?> list, long total)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(HttpStatus.SUCCESS);
|
||||
rspData.setRows(list);
|
||||
rspData.setMsg("查询成功");
|
||||
rspData.setTotal(total);
|
||||
return rspData;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回成功
|
||||
|
||||
Reference in New Issue
Block a user