Pre Merge pull request !748 from 雨伦/dev

This commit is contained in:
雨伦 2025-08-26 07:08:13 +00:00 committed by Gitee
commit 1f71d53629
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -73,7 +73,7 @@ public class CellMergeHandler {
Object val = ReflectUtils.invokeGetter(rowObj, field.getName());
int colNum = mergeFieldsIndex.get(j);
if (!map.containsKey(field)) {
if (!map.containsKey(field) || (map.get(field).value() == null && val != null)) {
map.put(field, new RepeatCell(val, i));
} else {
RepeatCell repeatCell = map.get(field);