| | |
| | | for (int i = 0; i < projectDtoList.size(); i ++) { |
| | | // 项目 |
| | | ProjectDto projectDto = projectDtoList.get(i); |
| | | |
| | | if (projectDto.getLiableUserId() != null && !"".equals(projectDto.getLiableUserId())) { |
| | | // 负责人ID列表 |
| | | List<Long> liableUserIdList = new ArrayList<>(); |
| | | // 负责人ID |
| | |
| | | } |
| | | // 负责人ID列表 |
| | | projectDto.setLiableUserIdList(liableUserIdList); |
| | | } |
| | | } |
| | | return projectDtoList; |
| | | } |
| | |
| | | String unitCurrency = project.getUnitCurrency() != null ? dictDetailRepository.findByDictNameAndValue(Constant.STANDARD_UNIT_CURRENCY, project.getUnitCurrency()).getLabel() : ""; |
| | | // 负责人名称 |
| | | String liableUserName = null; |
| | | |
| | | if (project.getLiableUserId() != null && !"".equals(project.getLiableUserId())) { |
| | | // 处理后负责人ID |
| | | String handleLiableUserId = project.getLiableUserId().replace("-", ""); |
| | | // 处理后负责人ID列表 |
| | |
| | | // 判断负责人名称 |
| | | liableUserName = liableUserName == null ? user.getNickName() : liableUserName + "," + user.getNickName(); |
| | | } |
| | | } |
| | | |
| | | Map<String,Object> map = new LinkedHashMap<>(); |
| | | map.put("名称", project.getName()); |