| | |
| | | data.setCmAuditList((List<WarehouseCmAudit>) cmList); |
| | | List<?> qaList = this.itemQaList("warehouse_qa_audit"); |
| | | data.setQaAuditList((List<WarehouseQaAudit>) qaList); |
| | | List<?> resultList = new ArrayList<>(); |
| | | List<WarehouseConfigItem> resultList = new ArrayList<>(); |
| | | if ("1".equals(libraryType)) { |
| | | List<String> srcId = technicalService.getsrcId(projectId); |
| | | /* String ids = String.join(", ", srcId.stream() |
| | |
| | | .collect(Collectors.toList()));*/ |
| | | String ids = String.join(", ", srcId); |
| | | resultList = configItemService.ConfigItemList(projectId, ids); |
| | | for (WarehouseConfigItem item :resultList){ |
| | | if (ids.contains(item.getSrcId().toString()) && item.getSrcId()!=null && StringUtils.isNotBlank(ids)){ |
| | | WarehouseConfigItem item2 = configItemService.getBySrc(projectId,item.getSrcId()); |
| | | item.setVersion(null); |
| | | item.setRetrospectVersion(item2.getVersion()); |
| | | } |
| | | } |
| | | } |
| | | List<?> ConfigItemList = resultList; |
| | | data.setConfigItemList((List<WarehouseConfigItem>) ConfigItemList); |
| | | data.setConfigItemList(resultList); |
| | | } |
| | | |
| | | if (projectId != null) { |