|
|
@ -170,8 +170,9 @@ public class HighUserServiceImpl implements HighUserService { |
|
|
|
if (StringUtils.isNotBlank(MapUtils.getString(map , "name"))) { |
|
|
|
if (StringUtils.isNotBlank(MapUtils.getString(map , "name"))) { |
|
|
|
criteria.andNameLike("%" + MapUtils.getString(map , "name") + "%"); |
|
|
|
criteria.andNameLike("%" + MapUtils.getString(map , "name") + "%"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(map.get("status"))) { |
|
|
|
|
|
|
|
criteria.andStatusEqualTo(Integer.valueOf(map.get("status"))); |
|
|
|
if (MapUtils.getInteger(map , "status") != null) { |
|
|
|
|
|
|
|
criteria.andStatusEqualTo(MapUtils.getInteger(map , "status")); |
|
|
|
} |
|
|
|
} |
|
|
|
if (MapUtils.getBoolean(map , "isAgent") != null) { |
|
|
|
if (MapUtils.getBoolean(map , "isAgent") != null) { |
|
|
|
criteria.andIsAgentEqualTo(MapUtils.getBoolean(map , "isAgent")); |
|
|
|
criteria.andIsAgentEqualTo(MapUtils.getBoolean(map , "isAgent")); |
|
|
|