|
@@ -53,7 +53,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserDao, SysUserEntity> i
|
|
|
//增加用户筛选的功能
|
|
|
int status = -1;
|
|
|
String tmp = (String)params.get("status");
|
|
|
- if(!tmp.equals("-1")) {
|
|
|
+ if(tmp!=null&&!tmp.equals("-1")) {
|
|
|
status = Integer.valueOf(tmp);
|
|
|
IPage<SysUserEntity> page = this.page(
|
|
|
new Query<SysUserEntity>().getPage(params),
|