支持Excel导出对象的多个子列表

pull/402/MERGE
RuoYi 2025-12-03 11:26:41 +08:00
parent 64e5288625
commit c17ed8bb04
1 changed files with 0 additions and 1 deletions

View File

@ -245,7 +245,6 @@ public class ExcelUtil<T>
{ {
Row subRow = sheet.createRow(rownum); Row subRow = sheet.createRow(rownum);
int column = 0; int column = 0;
int subFieldSize = subFields != null ? subFields.size() : 0;
for (Object[] objects : fields) for (Object[] objects : fields)
{ {
Field field = (Field) objects[0]; Field field = (Field) objects[0];