zouyu
2025-03-14 66205d252d0d999bbe9b41397cf8a7181632939c
inspect-server/src/main/java/com/ruoyi/inspect/handler/ThermalCycleReportHandler.java
文件名从 cnas-require/src/main/java/com/ruoyi/require/handler/ThermalCycleReportHandler.java 修改
@@ -1,4 +1,4 @@
package com.ruoyi.require.handler;
package com.ruoyi.inspect.handler;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
@@ -66,7 +66,8 @@
                        .eq(InsProduct::getInspectionItemClass, "鐩存祦鐢甸樆")
                        .isNull(InsProduct::getInsFiberId) //鐢ㄥ厜绾ゅ尯鍒俯鍗囪瘯楠屽拰娓╁害寰幆
                        .eq(InsProduct::getInspectionItem, i + ""));
                InsProductResult insProductResult = insProductResultMapper.selectList(Wrappers.<InsProductResult>lambdaQuery().eq(InsProductResult::getInsProductId, insPros.get(0).getId())).get(0);
                InsProductResult insProductResult = insProductResultMapper.selectList(Wrappers.<InsProductResult>lambdaQuery()
                        .eq(InsProductResult::getInsProductId, insPros.get(0).getId())).get(0);
                vCount += StringUtils.countMatches(insProductResult.getInsValue(), "\"v\":\"");
                list.add(StringUtils.countMatches(insProductResult.getInsValue(), "\"v\":\""));
            }
@@ -556,7 +557,7 @@
                            }
                        }
                        rowRenderData.setCells(cells);
                        if (rowRenderData.getCells().size() != 0) {
                        if (!rowRenderData.getCells().isEmpty()) {
                            rows.add(rowRenderData);
                        }
                    }
@@ -564,10 +565,6 @@
                    tableRenderData.setRows(rows);
                    int countSize = tableRenderData.getRows().get(0).getCells().size();
                    for (RowRenderData row : tableRenderData.getRows()) {
                            /*for (CellRenderData cell : row.getCells()) {
                                System.out.print(cell.getParagraphs().get(0).getContents());
                            }
                            System.out.println("");*/
                        if (row.getCells().size() != countSize) {
                            throw new ErrorException("姣忚鍗曞厓鏍间笉鐩哥瓑5");
                        }