fei
1 天以前 359f1d48b1d859a23cd35a425d2cffb1e9d1c811
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheet.java
@@ -62,6 +62,14 @@
     */
    private Excel.Type type;
    public Workbook getWb() {
        return wb;
    }
    public void setWb(Workbook wb) {
        this.wb = wb;
    }
    /**
     * 工作薄对象
     */
@@ -353,8 +361,11 @@
                    String recordId = list.get(index).getRecordId();
                    row.createCell(5).setCellValue(recordId);
                    row = sheet.createRow(3);
                    column = 0;
//                     // 添加总页数和当前页码信息
//                     row.createCell(5).setCellValue("总页数: " + list.size() + ", 当前页: " + (index + 1));
//   row = sheet.createRow(4);
                    column = 0;
                } else {
                    // 普通sheet处理
                 //   recordId = (DocumentMaterialsVo)list.get(0)