Commit 4443ad6b authored by luben's avatar luben

fix

parent e78ad937
...@@ -316,7 +316,7 @@ public class GridRegionFacadeService { ...@@ -316,7 +316,7 @@ public class GridRegionFacadeService {
// appPageModel.setRecordCount(res.size()); // appPageModel.setRecordCount(res.size());
appPageModel.setRecordCount(count); appPageModel.setRecordCount(count);
appPageModel.setPageCount((long) Math.ceil(1.0 * count / pageSize)); appPageModel.setPageCount((long) Math.ceil(1.0 * count / pageSize));
if(level.equals("3")){ if(level!=null && level.equals("3")){
for(GridRegion role : roles) { for(GridRegion role : roles) {
String type = role.getWgType(); String type = role.getWgType();
String code = role.getWgParentId(); String code = role.getWgParentId();
......
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