|
@ -1508,6 +1508,22 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 3.居民类别填充
|
|
|
|
|
|
List<String> resiCategoryColumns = Arrays.stream(ResiCategoryEnum.values()).map(c -> c.getColName()).collect(Collectors.toList()); |
|
|
|
|
|
|
|
|
|
|
|
Map<String, String> resiCategories = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
|
|
Map<String, String> categories = icResiUserDao.getCategoryListMap(resiCategoryColumns, resiUserId); |
|
|
|
|
|
categories.forEach((k, v) -> { |
|
|
|
|
|
if (NumConstant.ONE_STR.equals(v)) { |
|
|
|
|
|
ResiCategoryEnum enumObject = ResiCategoryEnum.getEnum(k); |
|
|
|
|
|
resiCategories.put(k, enumObject.getLabel()); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
r.setResiCategories(resiCategories); |
|
|
|
|
|
|
|
|
return r; |
|
|
return r; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|