Pre Merge pull request !260 from zendwang/dev

This commit is contained in:
zendwang 2022-12-06 02:59:25 +00:00 committed by Gitee
commit 87f5cf5070
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -86,7 +86,7 @@ public class CellMergeStrategy extends AbstractMergeStrategy {
// 空值跳过不合并
continue;
}
if (cellValue != val) {
if (!cellValue.equals(val)) {
if (i - repeatCell.getCurrent() > 1) {
cellList.add(new CellRangeAddress(repeatCell.getCurrent() + rowIndex, i + rowIndex - 1, colNum, colNum));
}