管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-20 4e7b68563222625ae503b1cab40dfbe49649491b
src/main/java/com/lf/server/config/InitConfig.java
@@ -17,6 +17,7 @@
import com.lf.server.service.show.LocateService;
import com.lf.server.service.sys.ArgsService;
import com.lf.server.service.sys.BlacklistService;
import com.lf.server.service.sys.ReportService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -62,6 +63,9 @@
    @Autowired
    Environment env;
    @Autowired
    ReportService reportService;
    @Override
    public void run(ApplicationArguments args) {
@@ -205,7 +209,7 @@
    }
    private void testReadExcel() {
        List<MdZxcgEntity> listMdZxcg = ExcelHelper.readExcel(MdZxcgEntity.class, "D:\\LF\\data\\xls\\测绘\\1-项目成果-西三中\\1-1中线成果表\\海原县中线成果表.xlsx");
        List<?> listMdZxcg = ExcelHelper.readExcel(MdzxcgEntity.class, "D:\\LF\\data\\xls\\测绘\\1-项目成果-西三中\\1-1中线成果表\\海原县中线成果表.xlsx");
        int r1 = listMdZxcg.size();
        //List<MdGdcgEntity> listGdcg = ExcelHelper.readExcel(MdGdcgEntity.class, "D:\\LF\\data\\xls\\测绘\\2-地下管线探测成果\\2-2 管线成果表.xlsx");