|
|
@ -694,17 +694,19 @@ public class ExcelUtil<T> |
|
|
|
// 得到导出对象.
|
|
|
|
// 得到导出对象.
|
|
|
|
T vo = (T) list.get(i); |
|
|
|
T vo = (T) list.get(i); |
|
|
|
Collection<?> subList = null; |
|
|
|
Collection<?> subList = null; |
|
|
|
if (isSubListValue(vo)) |
|
|
|
if (isSubList()) |
|
|
|
{ |
|
|
|
|
|
|
|
subList = getListCellValue(vo); |
|
|
|
|
|
|
|
subMergedLastRowNum = subMergedLastRowNum + subList.size(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
subMergedFirstRowNum++; |
|
|
|
if (isSubListValue(vo)) |
|
|
|
subMergedLastRowNum++; |
|
|
|
{ |
|
|
|
|
|
|
|
subList = getListCellValue(vo); |
|
|
|
|
|
|
|
subMergedLastRowNum = subMergedLastRowNum + subList.size(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
subMergedFirstRowNum++; |
|
|
|
|
|
|
|
subMergedLastRowNum++; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int column = 0; |
|
|
|
int column = 0; |
|
|
|
for (Object[] os : fields) |
|
|
|
for (Object[] os : fields) |
|
|
|
{ |
|
|
|
{ |
|
|
|