mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-02 20:02:49 +08:00
fix bug
This commit is contained in:
parent
fddb24dc9b
commit
85bc21b6c1
@ -10,6 +10,7 @@
|
||||
*
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复CollUtil.isEqualList两个null返回错误问题(issue#1885@Github)
|
||||
* 【poi 】 修复ExcelWriter多余调试信息导致的问题(issue#1884@Github)
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -7,7 +7,6 @@ import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.io.IORuntimeException;
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.lang.Assert;
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
import cn.hutool.core.util.CharsetUtil;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
@ -765,7 +764,6 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
|
||||
if (null != content) {
|
||||
final Cell cell = getOrCreateCell(firstColumn, firstRow);
|
||||
CellUtil.setCellValue(cell, content, cellStyle);
|
||||
Console.log("{} {} {}", firstColumn, firstRow, cell.getStringCellValue());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
@ -783,4 +783,15 @@ public class ExcelWriteTest {
|
||||
writer.write(ListUtil.of(hyperlink));
|
||||
writer.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void mergeNumberTest(){
|
||||
File tempFile=new File("d:/test/mergeNumber.xlsx");
|
||||
FileUtil.del(tempFile);
|
||||
|
||||
BigExcelWriter writer= new BigExcelWriter(tempFile);
|
||||
writer.merge(0,1,2,2,3.99,false);
|
||||
writer.close();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user