zqy
2024-09-23 b255f2a8bb78bb5197c8b839853682203c8a1ddc
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
@@ -430,6 +430,11 @@
                    {
                        if (val instanceof String)
                        {
                            System.out.println("====++++++++");
                            System.out.println(val);
                            if(((String) val).contains("/"))
                                val = ((String) val).replace("/","-");
                            System.out.println(val);
                            val = DateUtils.parseDate(val);
                        }
                        else if (val instanceof Double)
@@ -1571,8 +1576,10 @@
        for (int i = row.getFirstCellNum(); i < row.getLastCellNum(); i++)
        {
            Cell cell = row.getCell(i);
            if (cell != null && cell.getCellType() != CellType.BLANK)
//            System.out.println("11111111111111:/"+(cell != null)+"\n2222222222:/"+cell+"\n333333:/"+String.valueOf(cell).length());
            if (cell != null && cell.getCellType() != CellType.BLANK && !cell.toString().equals(""))
            {
//                System.out.println("444444+/"+(cell.getCellType()));
                return false;
            }
        }