RuoYi
2023-03-17 bde1cdccb1252038be973d7b62f0dd8809920d7c
src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
@@ -1440,7 +1440,8 @@
                    Excel[] excels = attrs.value();
                    for (Excel attr : excels)
                    {
                        if (attr != null && (attr.type() == Type.ALL || attr.type() == type))
                        if (!ArrayUtils.contains(this.excludeFields, field.getName() + "." + attr.targetAttr())
                                && (attr != null && (attr.type() == Type.ALL || attr.type() == type)))
                        {
                            field.setAccessible(true);
                            fields.add(new Object[] { field, attr });