new-dev
袁野 1 year ago
parent f1a142f3de
commit c69d5201dc
  1. 5
      hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java

@ -170,8 +170,9 @@ public class HighUserServiceImpl implements HighUserService {
if (StringUtils.isNotBlank(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) {
criteria.andIsAgentEqualTo(MapUtils.getBoolean(map , "isAgent"));

Loading…
Cancel
Save