| | |
| | | if (inspectionItemSubclass.contains("同极化隔离度")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("同极化隔离度") |
| | | .getInspectionItemSubclass().equals("同极化隔离度") && insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % (ports > 8 ? 4 : (ports + 1) / 2) == 0 ? length / (ports > 8 ? 4 : (ports + 1) / 2) : length / (ports > 8 ? 4 : (ports + 1) / 2) + 1); |
| | |
| | | if (inspectionItemSubclass.contains("异极化隔离度")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("异极化隔离度") |
| | | .getInspectionItemSubclass().equals("异极化隔离度") && insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % (ports > 8 ? 4 : (ports + 1) / 2) == 0 ? length / (ports > 8 ? 4 : (ports + 1) / 2) : length / (ports > 8 ? 4 : (ports + 1) / 2) + 1); |
| | |
| | | if (inspectionItemSubclass.contains("幅度偏差")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("幅度偏差") |
| | | .getInspectionItemSubclass().equals("幅度偏差")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % 8 == 0 ? length / 8 : length / 8 + 1); |
| | |
| | | if (inspectionItemSubclass.contains("最大相位偏差")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("最大相位偏差") |
| | | .getInspectionItemSubclass().equals("最大相位偏差")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % 8 == 0 ? length / 8 : length / 8 + 1); |
| | |
| | | if (inspectionItemSubclass.contains("同极化隔离度")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("同极化隔离度") |
| | | .getInspectionItemSubclass().equals("同极化隔离度")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % (ports > 8 ? 4 : (ports + 1) / 2) == 0 ? length / (ports > 8 ? 4 : (ports + 1) / 2) : length / (ports > 8 ? 4 : (ports + 1) / 2) + 1); |
| | |
| | | if (inspectionItemSubclass.contains("异极化隔离度")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("异极化隔离度") |
| | | .getInspectionItemSubclass().equals("异极化隔离度")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % (ports > 8 ? 4 : (ports + 1) / 2) == 0 ? length / (ports > 8 ? 4 : (ports + 1) / 2) : length / (ports > 8 ? 4 : (ports + 1) / 2) + 1); |
| | |
| | | if (inspectionItemSubclass.contains("幅度偏差")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("幅度偏差") |
| | | .getInspectionItemSubclass().equals("幅度偏差")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % 8 == 0 ? length / 8 : length / 8 + 1); |
| | |
| | | if (inspectionItemSubclass.contains("最大相位偏差")) { |
| | | List<InsProductResult2> result2s = insProductResult2s.stream().filter(insProductResult2 -> |
| | | insProductMapper.selectById(insProductResult2.getInsProductId()) |
| | | .getInspectionItemSubclass().equals("最大相位偏差") |
| | | .getInspectionItemSubclass().equals("最大相位偏差")&& insProductResult2.getFrequency().equals(s) |
| | | ).collect(Collectors.toList()); |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | aa += (angles + 1) * (length % 8 == 0 ? length / 8 : length / 8 + 1); |