mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-22 21:00:46 +08:00
添加注释
This commit is contained in:
parent
b923783b34
commit
ee8e7eb6f1
@ -883,6 +883,7 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
|
||||
public ExcelWriter writeSecHeadRow(Iterable<?> rowData){
|
||||
final Row row = RowUtil.getOrCreateRow(this.sheet,this.currentRow.getAndIncrement());
|
||||
Iterator<?> iterator = rowData.iterator();
|
||||
//如果获取的row存在单元格,则执行复杂表头逻辑,否则直接调用writeHeadRow(Iterable<?> rowData)
|
||||
if (row.getLastCellNum() != 0) {
|
||||
for (int i = 0; i < this.workbook.getSpreadsheetVersion().getMaxColumns(); i++) {
|
||||
Cell cell = row.getCell(i);
|
||||
|
Loading…
Reference in New Issue
Block a user