澳星拉取主分支代码,切换数据库

This commit is contained in:
lvleigang 2024-09-06 16:44:20 +08:00
parent 993ef052dd
commit 6c07a69aa7
6 changed files with 14 additions and 24 deletions

View File

@ -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

View File

@ -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

View File

@ -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) {

View File

@ -43,7 +43,7 @@ public class FileUploadServiceImpl extends BaseService<FileUploadEntity, Long> i
@Value("${savefile.path}")
public String DSK;
@Value("${savefile.pluginpath}")
@Value("${savefile.pluginpath:}")
public String PLUGINPATH;
protected IFileUploadDao fileUploadDao;

View File

@ -121,7 +121,7 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
@Resource
private com.hzya.frame.sysnew.application.service.impl.ApplicationCache applicationCache;
@Value("${savefile.tomcatpath}")
@Value("${savefile.tomcatpath:}")
public String TOMCATPATH;
//多线程请求加锁 HttpRequest 构造方法是静态的
private final Object lock = new Object();

View File

@ -15,24 +15,7 @@ public class VoucherDetails {
private String debitquantity;
private String price;
public String getDebitquantity() {
return debitquantity;
}
public void setDebitquantity(String debitquantity) {
this.debitquantity = debitquantity;
}
public String getPrice() {
return price;
}
public void setPrice(String price) {
this.price = price;
}
private String creditquantity;
private String debitquantity;
private String price;
public List<Ass> getAss() {
return ass;
@ -129,4 +112,5 @@ public class VoucherDetails {
public void setPrice(String price) {
this.price = price;
}
}