| | |
| | | dto.setSupplierCoal(supply.getSupplierName() + " - " + coalInfo.getCoal()); |
| | | } |
| | | // 设置煤质数据 |
| | | dto.setCoalValues(coalValuesMap.getOrDefault(inventory.getCoalPlanId(), Collections.emptyList())); |
| | | dto.setCoalValues(coalValuesMap.getOrDefault(inventory.getCoalPlanId(), Collections.emptyList()) |
| | | .stream() |
| | | .map(coalValue -> { |
| | | Map<String, String> map = new HashMap<>(); |
| | | map.put("fieldName", coalValue.getFieldName()); |
| | | map.put("coalValue", coalValue.getCoalValue()); |
| | | return map; |
| | | }) |
| | | .collect(Collectors.toList())); |
| | | return dto; |
| | | }) |
| | | .collect(Collectors.toList()); |