瀏覽代碼

csv模板注入

chengxiaowen 1 年之前
父節點
當前提交
a4224cb162

+ 31 - 0
.gitignore

@@ -0,0 +1,31 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**
+!**/src/test/**
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+
+### VS Code ###
+.vscode/

+ 18 - 16
src/main/resources/develop/application.yml

@@ -21,18 +21,17 @@ spring:
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource
     druid:
-      database:
-        jdbc-url: jdbc:mysql://101.201.117.83:3306/rz_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
-        username: szyl
-        password: sz0308
-        filter: stat
-        max-active: 100
-        initial-size: 5
-        max-wait: 60000
-        min-idle: 1
-        validation-query: SELECT 1
-        test-while-idle: true
-        driver-class-name: com.mysql.cj.jdbc.Driver
+      url: jdbc:mysql://101.201.117.83:3306/rz_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
+      username: szyl
+      password: sz0308
+      filter: stat
+      max-active: 100
+      initial-size: 5
+      max-wait: 60000
+      min-idle: 1
+      validation-query: SELECT 1
+      test-while-idle: true
+      driver-class-name: com.mysql.cj.jdbc.Driver
   data:
     elasticsearch:
       cluster-name: my-application
@@ -59,7 +58,6 @@ spring:
     timeout: 5000
 #mybatis plus配置
 mybatis-plus:
-
   config-location: classpath:mybatis-config.xml
   mapper-locations: classpath:/mapper/statistics/*.xml
 
@@ -77,10 +75,10 @@ xxl:
 #      executor:
     appname: xxl-job-statistics
     ip:
-    port: 9991
+    port: 9996
     accessToken:
     logretentiondays: -1
-    logpath: /applogs/xxl-job/statistics/
+    logpath: ./logs/xxl-job
 
 common:
   minio:
@@ -89,6 +87,7 @@ common:
     bucket: cgpimage
     accessKey: admin
     secretKey: nDP9qA5i
+
 jpush:
   app_key: c61567cde175728a73a4f9d2
   master_secret: 1c8973c67c6ca7100259830c
@@ -96,4 +95,7 @@ jpush:
 
 ribbon:
  ReadTimeout: 5000
- ConnectTimeout: 5000
+ ConnectTimeout: 5000
+
+sync:
+  dbName: rz

二進制
src/main/resources/excel/order.xlsx


二進制
src/main/resources/excel/order_dishes.xlsx


二進制
src/main/resources/excel/order_service.xlsx