|
@@ -2832,7 +2832,9 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
|
|
List<User> items = userMapper.selectList(new QueryWrapper<User>().select("DISTINCT plate1").eq("company_id", user.getCompanyId()));
|
|
|
ArrayList<String> areas = new ArrayList<String>();
|
|
|
for (User item : items) {
|
|
|
- areas.add(item.getPlate1());
|
|
|
+ if (item!= null && item.getPlate1()!= null && org.apache.commons.lang3.StringUtils.isNotBlank(item.getPlate1())){
|
|
|
+ areas.add(item.getPlate1());
|
|
|
+ }
|
|
|
}
|
|
|
httpRespMsg.data = areas;
|
|
|
return httpRespMsg;
|