|
@@ -57,13 +57,7 @@ public class UserCtl extends BaseCtl {
|
|
|
@SysLog(description="用户列表查询")
|
|
|
public PageInfo<UserModel> getPageInfo(UserVo vo) throws UnsupportedEncodingException {
|
|
|
// 初始化参数
|
|
|
- if (null == vo.getPage() || vo.getPage() < 1) {
|
|
|
- vo.setPage(1);
|
|
|
- }
|
|
|
- if (null == vo.getRows() || vo.getRows() < 1) {
|
|
|
- vo.setRows(1);
|
|
|
- }
|
|
|
- PageHelper.startPage(vo.getPage(), vo.getRows());
|
|
|
+ PageHelper.startPage(vo.getcPage(), vo.getpSize());
|
|
|
UserModel model = new UserModel();
|
|
|
if (StringUtils.isNotEmpty(vo.getRealName())) {
|
|
|
model.setRealName("%" + URLDecoder.decode(vo.getRealName(), "UTF-8") + "%");
|