| | |
| | | cells.add(cellRenderData); |
| | | } |
| | | } |
| | | } |
| | | else { |
| | | } else { |
| | | //电调版本(复杂版) |
| | | if (inspectionItemSubclass.contains("电压驻波比") && i <= (angles + 1) * portRow) { |
| | | cc = (angles + 1) * portRow; |
| | |
| | | int k = (angles + 1) * portRow2; |
| | | int rr = qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq; |
| | | if (i > rr && i <= rr + k) { |
| | | ss = (rr + k) ; |
| | | ss = (rr + k); |
| | | if (itemSet.add("最大相位偏差")) { |
| | | index.getAndIncrement(); |
| | | } |
| | |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | int portRow2 = (length % 8 == 0 ? length / 8 : length / 8 + 1); |
| | | int k = (angles + 1) * portRow2; |
| | | int rr =ss==0?( qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq) : ss; |
| | | int rr = ss == 0 ? (qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq) : ss; |
| | | if (i > ss) { |
| | | if (itemSet.add("相位绝对值")) { |
| | | index.getAndIncrement(); |
| | |
| | | String[] monthNames = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; |
| | | SampleProductDto s = insSample; |
| | | models.add(s.getModel()); |
| | | standardMethod.addAll(standardMethodListMapper.selectList(Wrappers.<StandardMethodList>lambdaQuery() |
| | | .in(StandardMethodList::getId, Arrays.stream(s.getStandardMethodListId().replaceAll("[\\[\\]]", "").split(",")) |
| | | .map(String::trim).map(Integer::parseInt).collect(Collectors.toList()))).stream().map(aa -> { |
| | | return aa.getCode() + " " + aa.getName(); |
| | | }).distinct().collect(Collectors.toList())); |
| | | /*查询标准方法*/ |
| | | standardMethod.addAll(insProductMapper.selectList(Wrappers.<InsProduct>lambdaQuery() |
| | | .eq(InsProduct::getInsSampleId, insSample.getId()) |
| | | .eq(InsProduct::getState, 1)).stream().map(InsProduct::getMethodS).distinct().collect(Collectors.toList())); |
| | | //总数 |
| | | Long productCount = insProductMapper.selectCount(Wrappers.<InsProduct>lambdaQuery() |
| | | .eq(InsProduct::getInsSampleId, s.getId())); |
| | |
| | | .eq(InsProduct::getInsSampleId, s.getId()) |
| | | .eq(InsProduct::getInsResult, 1)); |
| | | // productSize3.set(productSize3.get() + Integer.parseInt(productCount3 + "")); |
| | | productSize3.set(productSize3.get() + Integer.parseInt(productCount3+productCount1 + "")); |
| | | productSize3.set(productSize3.get() + Integer.parseInt(productCount3 + productCount1 + "")); |
| | | //将项目按照站点进行分类 |
| | | Map<String, List<InsProduct>> listMap = s.getInsProduct().stream().collect(Collectors.groupingBy(InsProduct::getSonLaboratory)); |
| | | // 创建一个 Map 将站点和项目ID的映射关系 |
| | |
| | | for (String s1 : standardMethod) { |
| | | standardMethod2.append(";\n").append(s1); |
| | | } |
| | | standardMethod2.append(";\n").append("GB/T 9410-2008 《移动通信天线通用技术规范》"); |
| | | standardMethod2.replace(0, 1, ""); |
| | | List<Map<String, String>> deviceList = null; |
| | | if (deviceSet.size() != 0) { |
| | |
| | | cells.add(cellRenderData); |
| | | } |
| | | } |
| | | } |
| | | else { |
| | | } else { |
| | | //电调版本(复杂版) |
| | | if (inspectionItemSubclass.contains("电压驻波比") && i <= (angles + 1) * portRow) { |
| | | cc = (angles + 1) * portRow; |
| | |
| | | int k = (angles + 1) * portRow2; |
| | | int rr = qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq; |
| | | if (i > rr && i <= rr + k) { |
| | | ss = (rr + k) ; |
| | | ss = (rr + k); |
| | | if (itemSet.add("最大相位偏差")) { |
| | | index.getAndIncrement(); |
| | | } |
| | |
| | | int length = result2s.get(0).getPort().split(",").length; |
| | | int portRow2 = (length % 8 == 0 ? length / 8 : length / 8 + 1); |
| | | int k = (angles + 1) * portRow2; |
| | | int rr =ss==0?( qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq) : ss; |
| | | int rr = ss == 0 ? (qq == 0 ? (pp == 0 ? (nn == 0 ? (mm == 0 ? (hh == 0 ? (gg == 0 ? (ff == 0 ? (ee == 0 ? ((dd == 0 ? cc : dd)) : ee) : ff) : gg) : hh) : mm) : nn) : pp) : qq) : ss; |
| | | if (i > ss) { |
| | | if (itemSet.add("相位绝对值")) { |
| | | index.getAndIncrement(); |