Compare commits

..

No commits in common. "e295ad945be496bb43a55bedb2e3ab2531985c0f" and "4d78110ee45ecdb21789fa69ccff39bd1bd5c3f5" have entirely different histories.

1 changed files with 1 additions and 6 deletions

View File

@ -66,12 +66,7 @@ public class BaseController
rspData.setCode(HttpStatus.SUCCESS);
rspData.setRows(list);
rspData.setMsg("查询成功");
if (list == null || list.size() == 0) {
rspData.setTotal(0);
} else {
rspData.setTotal(new PageInfo(list).getTotal());
}
rspData.setTotal(new PageInfo(list).getTotal());
return rspData;
}