From fcefe41e05439f548a58c7e5b6aa6e58f7b80ada Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期一, 23 十二月 2024 11:57:46 +0800 Subject: [PATCH] 1. 新增接口网格数据excel模板、网格数据excel导入 2. 接口解析网格数据抛出相关excel报错信息 3. FileExchange.kt新增excel转换到GridDataDetail列表方法 4. 新增导入excel的单元测试代码 --- src/main/resources/application.yml | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 895d090..89e2e89 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,19 +1,32 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.0.200:3306/obd?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false - username: root - password: cn.FLIGHTFEATHER + hikari: + maximum-pool-size: 500 + minimum-idle: 20 + idle-timeout: 60000 + connection-timeout: 60000 + profiles: + active: @profileActive@ + jmx: + enabled: false + + #鏂囦欢涓婁紶闄愬埗 + servlet: + multipart: + max-file-size: 25MB + max-request-size: 100MB + mybatis: - type-aliases-package: com.flightfeather.obd.domain.entity + type-aliases-package: com.flightfeather.uav.domain.entity mapper-locations: classpath*:mapper/*.xml ## 閫氱敤 Mapper 閰嶇疆 #mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑 mapper: - mappers: com.flightfeather.obd.domain.MyMapper + mappers: com.flightfeather.uav.domain.MyMapper not-empty: false identity: MYSQL -- Gitblit v1.9.3