From 6c07a69aa736f8955f4629db9b430a45e65c7ea2 Mon Sep 17 00:00:00 2001 From: lvleigang <957075182@qq.com> Date: Fri, 6 Sep 2024 16:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BE=B3=E6=98=9F=E6=8B=89=E5=8F=96=E4=B8=BB?= =?UTF-8?q?=E5=88=86=E6=94=AF=E4=BB=A3=E7=A0=81=EF=BC=8C=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-ax.yml | 8 +++++++- .../src/main/resources/application-llg.yml | 4 ++-- .../service/impl/FileDownloadServiceImpl.java | 4 ++-- .../service/impl/FileUploadServiceImpl.java | 2 +- .../impl/SysApplicationServiceImpl.java | 2 +- .../frame/u8c/ax/entity/VoucherDetails.java | 18 +----------------- 6 files changed, 14 insertions(+), 24 deletions(-) diff --git a/buildpackage/src/main/resources/application-ax.yml b/buildpackage/src/main/resources/application-ax.yml index fda31564..f8fa39a3 100644 --- a/buildpackage/src/main/resources/application-ax.yml +++ b/buildpackage/src/main/resources/application-ax.yml @@ -12,12 +12,18 @@ spring: dynamic: datasource: master: - url: jdbc:mysql://127.0.0.1:3306/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true + url: jdbc:mysql://127.0.0.1:3306/businesscenter_new?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true username: root password: 62e4295b615a30dbf3b8ee96f41c820b driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 +# url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true +# username: root +# password: 62e4295b615a30dbf3b8ee96f41c820b +# driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 savefile: # 文件保存路径 path: E:\yongansystem\file +ax: + url: http://127.0.0.1:9081/kangarooDataCenterV3/entranceController/externalCallInterface zt: url: http://127.0.0.1:9081/kangarooDataCenterV3/entranceController/externalCallInterface \ No newline at end of file diff --git a/buildpackage/src/main/resources/application-llg.yml b/buildpackage/src/main/resources/application-llg.yml index 1052e7fa..c6af4e87 100644 --- a/buildpackage/src/main/resources/application-llg.yml +++ b/buildpackage/src/main/resources/application-llg.yml @@ -32,7 +32,7 @@ spring: # type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true username: root - password: bd993088e8a7c3dc5f44441617f9b4bf + password: 62e4295b615a30dbf3b8ee96f41c820b driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 # url: jdbc:dm://hzya.ufyct.com:9040/businesscenter?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 # url: jdbc:dm://hzya.ufyct.com:9040?schema=businesscenter&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&compatibleMode=oracle @@ -42,7 +42,7 @@ spring: savefile: # 文件保存路径 path: /Users/apple/Desktop/log/local -zt: +ax: url: http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface cbs8: appId: 1P4AGrpz diff --git a/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java b/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java index 036d31a7..a8e9e460 100644 --- a/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java @@ -33,10 +33,10 @@ public class FileDownloadServiceImpl extends BaseService< FileDownloadEntity,Lo @Value("${savefile.path}") public String DSK; - @Value("${savefile.pluginpath}") + @Value("${savefile.pluginpath:}") public String PLUGINPATH; - @Value("${savefile.tomcatpath}") + @Value("${savefile.tomcatpath:}") public String TOMCATPATH; @Autowired public void setFileDownloadDao(IFileDownloadDao dao) { diff --git a/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java b/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java index b2ccda26..5869b34a 100644 --- a/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java @@ -43,7 +43,7 @@ public class FileUploadServiceImpl extends BaseService i @Value("${savefile.path}") public String DSK; - @Value("${savefile.pluginpath}") + @Value("${savefile.pluginpath:}") public String PLUGINPATH; protected IFileUploadDao fileUploadDao; diff --git a/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java b/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java index 77a1dd3f..8c4dc9d9 100644 --- a/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/sysnew/application/service/impl/SysApplicationServiceImpl.java @@ -121,7 +121,7 @@ public class SysApplicationServiceImpl extends BaseService getAss() { return ass; @@ -129,4 +112,5 @@ public class VoucherDetails { public void setPrice(String price) { this.price = price; } + }