管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-20 f31782b273aeb8752b25d5467502e8ea38e083c7
src/main/java/com/lf/server/config/InitConfig.java
@@ -76,6 +76,7 @@
            //FloatServerController.test();
            //testReadExcel();
            //testBatchUpdate();
            //testAccess();
            //boolean f1 = ZipHelper.unzip("D:\\LF\\data\\resources.zip", "D:\\LF\\data\\unzip");
            //boolean f2 = ZipHelper.zip("D:\\LF\\data\\res.zip", "D:\\LF\\data\\unzip\\resources");
@@ -95,11 +96,11 @@
    private void testBatchUpdate() {
        DlgagnpEntity d1 = new DlgagnpEntity();
        d1.setGid(56);
        d1.setGid(56L);
        d1.setGb("10");
        d1.setName("a01");
        DlgagnpEntity d2 = new DlgagnpEntity();
        d2.setGid(57);
        d2.setGid(57L);
        d2.setGb("20");
        d2.setName("a02");
@@ -221,4 +222,9 @@
        List<?> list = ExcelHelper.readExcel(obj.getClass(), xls);
        int r3 = list.size();
    }
    private void testAccess() {
        List<Map<String, Object>> list = AccessHelper.readMdb("D:\\LF\\data\\test.mdb", "", "");
        int count = null == list || list.isEmpty() ? 0 : list.size();
    }
}