|
|
|
@ -244,10 +244,13 @@ public class SuoyinService {
|
|
|
|
|
for (Document document : documentList) {
|
|
|
|
|
FullIndexPageRow fullIndexPageRow = new FullIndexPageRow(indexPlate.getZongName(), indexPlate.getName(), roll.getName(), pieces.getName(), document.getName(), document.isA3() ? "A3" : "A4", i);
|
|
|
|
|
fullIndexPageRows.add(fullIndexPageRow);
|
|
|
|
|
i++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
EasyExcel.write(indexPlate.getAbsolutePath() + "/full-index-" + indexPlate.getName() + ".xls", MesEasyExcel.class).sheet("test").doWrite(fullIndexPageRows);
|
|
|
|
|
|
|
|
|
|
File file1 = new File(indexPlate.getAbsolutePath());
|
|
|
|
|
EasyExcel.write(file1.getParentFile().getAbsolutePath() + "/full-index-" + indexPlate.getName() + ".xls", FullIndexPageRow.class).sheet("test").doWrite(fullIndexPageRows);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|