mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
Pre Merge pull request !748 from 雨伦/dev
This commit is contained in:
commit
1f71d53629
@ -73,7 +73,7 @@ public class CellMergeHandler {
|
|||||||
Object val = ReflectUtils.invokeGetter(rowObj, field.getName());
|
Object val = ReflectUtils.invokeGetter(rowObj, field.getName());
|
||||||
|
|
||||||
int colNum = mergeFieldsIndex.get(j);
|
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));
|
map.put(field, new RepeatCell(val, i));
|
||||||
} else {
|
} else {
|
||||||
RepeatCell repeatCell = map.get(field);
|
RepeatCell repeatCell = map.get(field);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user