Compare commits
No commits in common. "e295ad945be496bb43a55bedb2e3ab2531985c0f" and "4d78110ee45ecdb21789fa69ccff39bd1bd5c3f5" have entirely different histories.
e295ad945b
...
4d78110ee4
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue