| | |
| | | List<SystemDictData> list = systemDictDataMapper.list(codes); |
| | | Map<String,SystemDictData> dataMap = list.stream().collect(Collectors.toMap(SystemDictData::getLabel, Function.identity())); |
| | | retentionIPage.getRecords().stream().forEach(obj->{ |
| | | obj.setFaceImg(dataMap.get(Constants.FTP_RESOURCE_PATH).getCode() |
| | | if(StringUtils.isNotBlank(obj.getFaceImg())){ |
| | | obj.setFaceImgFull(dataMap.get(Constants.FTP_RESOURCE_PATH).getCode() |
| | | +dataMap.get(Constants.MEMBER_IMG).getCode() |
| | | +obj.getFaceImg()); |
| | | } |
| | | }); |
| | | } |
| | | return PageData.from(retentionIPage); |