소스 검색

更新列位置的处理逻辑,修复问题

CodeLife_leno 2 달 전
부모
커밋
336ad3eb0e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Procedure/backend/project/src/main/java/com/sundata/product/rwa/calc/service/ReportCalcService.java

+ 1 - 1
Procedure/backend/project/src/main/java/com/sundata/product/rwa/calc/service/ReportCalcService.java

@@ -128,7 +128,7 @@ public class ReportCalcService {
                                 Row mainTmpRow = mainTmpSheet.createRow(j);
                                 for (int k = tempRow.getFirstCellNum(); k < tempRow.getLastCellNum(); k++) {
                                     int finalK = k;
-                                    List<ReportCalculationModel> thisCellNumModel = thisSheetNumModel.stream().filter(e -> finalK == (e.getReportUnitCell())).toList();
+                                    List<ReportCalculationModel> thisCellNumModel = thisRowNumModel.stream().filter(e -> finalK == (e.getReportUnitCell())).toList();
                                     Cell tempCell = tempRow.getCell(k);
                                     Cell mainTmpCell = null;
                                     if (tempCell != null) {