mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
fix 导出Excel时设置合并列,指定合并列的第一行数据为null、空字符时导致后续列无法正常合并
This commit is contained in:
parent
b345702705
commit
701a137a68
@ -79,7 +79,6 @@ public class CellMergeHandler {
|
|||||||
map.put(field, new RepeatCell(val, i));
|
map.put(field, new RepeatCell(val, i));
|
||||||
} else {
|
} else {
|
||||||
RepeatCell repeatCell = map.get(field);
|
RepeatCell repeatCell = map.get(field);
|
||||||
cellValue = repeatCell.value();
|
|
||||||
if (isEmpty(cellValue)) {
|
if (isEmpty(cellValue)) {
|
||||||
// 空值跳过不合并
|
// 空值跳过不合并
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user