RuoYi
2022-02-25 1e67889d7cd4a9980e28c22563dc7ec0e081ca07
src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
@@ -1121,7 +1121,7 @@
        if (StringUtils.isNotEmpty(excel.targetAttr()))
        {
            String target = excel.targetAttr();
            if (target.indexOf(".") > -1)
            if (target.contains("."))
            {
                String[] targets = target.split("[.]");
                for (String name : targets)
@@ -1216,7 +1216,7 @@
        for (Object[] os : this.fields)
        {
            Excel excel = (Excel) os[1];
            maxHeight = maxHeight > excel.height() ? maxHeight : excel.height();
            maxHeight = Math.max(maxHeight, excel.height());
        }
        return (short) (maxHeight * 20);
    }