Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
e0283015
Commit
e0283015
authored
Aug 12, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
薪資配置
parent
194b049f
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
78 additions
and
25 deletions
+78
-25
yifu-archives-deployment.yaml
k8s-bash-test/yifu-archives-deployment.yaml
+2
-2
yifu-auth-deployment.yaml
k8s-bash-test/yifu-auth-deployment.yaml
+2
-2
yifu-check-deployment.yaml
k8s-bash-test/yifu-check-deployment.yaml
+2
-2
yifu-insurances-deployment.yaml
k8s-bash-test/yifu-insurances-deployment.yaml
+1
-1
yifu-job-deployment.yaml
k8s-bash-test/yifu-job-deployment.yaml
+2
-2
yifu-salary-deployment.yaml
k8s-bash-test/yifu-salary-deployment.yaml
+2
-2
yifu-social-deployment.yaml
k8s-bash-test/yifu-social-deployment.yaml
+2
-2
yifu-upms-deployment.yaml
k8s-bash-test/yifu-upms-deployment.yaml
+2
-2
pom.xml
pom.xml
+2
-2
application-test.yml
...yifu-archives-biz/src/main/resources/application-test.yml
+11
-0
application-test.yml
yifu-auth/src/main/resources/application-test.yml
+11
-0
application-test.yml
...ck/yifu-check-biz/src/main/resources/application-test.yml
+1
-1
application-test.yml
...fu-insurances-biz/src/main/resources/application-test.yml
+11
-0
application-test.yml
...-job/yifu-job-biz/src/main/resources/application-test.yml
+11
-0
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+3
-3
application-test.yml
...y/yifu-salary-biz/src/main/resources/application-test.yml
+11
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+0
-2
application-test.yml
...l/yifu-social-biz/src/main/resources/application-test.yml
+1
-1
application-test.yml
...pms/yifu-upms-biz/src/main/resources/application-test.yml
+1
-1
No files found.
k8s-bash-test/yifu-archives-deployment.yaml
View file @
e0283015
...
...
@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-archives
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-archives-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-archives-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-archives-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-auth-deployment.yaml
View file @
e0283015
...
...
@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-auth
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-auth:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-auth:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-auth:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-check-deployment.yaml
View file @
e0283015
...
...
@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-check
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-check-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-check-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-check-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-insurances-deployment.yaml
View file @
e0283015
...
...
@@ -44,7 +44,7 @@ spec: # 资源规范字段
kubernetes.io/hostname
:
yfmaster1
containers
:
# 容器
-
name
:
yifu-insurances
# 容器的名字
image
:
localhost:5000
/qas-mvp/yifu-insurances-biz:1.0.0
#临时地址
image
:
hub.worfu.com
/qas-mvp/yifu-insurances-biz:1.0.0
#临时地址
# image: 192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0 # 容器镜像地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
...
...
k8s-bash-test/yifu-job-deployment.yaml
View file @
e0283015
...
...
@@ -43,8 +43,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-job
# 容器的名字
#image: hub.yifucenter.com:5500/qas-mvp/yifu-job-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-job-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-job-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-salary-deployment.yaml
View file @
e0283015
...
...
@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-salary
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-salary-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-salary-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-salary-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-social-deployment.yaml
View file @
e0283015
...
...
@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-social
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-social-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-social-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-social-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
k8s-bash-test/yifu-upms-deployment.yaml
View file @
e0283015
...
...
@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers
:
# 容器
-
name
:
yifu-upms
# 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-upms-biz:1.0.0 # 容器镜像地址
image
:
localhost:5000
/qas-mvp/yifu-upms-biz:1.0.0
#临时地址
imagePullPolicy
:
IfNotPresent
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
image
:
hub.worfu.com
/qas-mvp/yifu-upms-biz:1.0.0
#临时地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
pom.xml
View file @
e0283015
...
...
@@ -261,7 +261,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>
dev
</profiles.active>
<!-- 天翼云-->
<my.hub.host>
localhost:5000
</my.hub.host>
<my.hub.host>
hub.worfu.com
</my.hub.host>
<map.group.name>
qas-mvp
</map.group.name>
<!-- 众多参数配置 -->
</properties>
...
...
@@ -284,7 +284,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>
test
</profiles.active>
<!-- 天翼云-->
<my.hub.host>
localhost:5000
</my.hub.host>
<my.hub.host>
hub.worfu.com
</my.hub.host>
<map.group.name>
qas-mvp
</map.group.name>
<!-- 众多参数配置 -->
</properties>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -16,6 +16,17 @@ spring:
password
:
yf_zsk
#url: jdbc:mysql://127.0.0.1:3306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://192.168.1.65:22306/mvp_archives?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
hikari
:
driver-class-name
:
${spring.datasource.driver-class-name}
jdbc-url
:
${spring.datasource.url}
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
pool-name
:
AmytangHikariCP
minimum-idle
:
10
# 最小空闲连接数量
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
servlet
:
multipart
:
location
:
/data/tmp/
...
...
yifu-auth/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -24,6 +24,17 @@ spring:
password
:
yf_zsk
#url: jdbc:mysql://127.0.0.1:3306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
hikari
:
driver-class-name
:
${spring.datasource.driver-class-name}
jdbc-url
:
${spring.datasource.url}
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
pool-name
:
AmytangHikariCP
minimum-idle
:
10
# 最小空闲连接数量
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
freemarker
:
allow-request-override
:
false
allow-session-override
:
false
...
...
yifu-check/yifu-check-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -26,7 +26,7 @@ spring:
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
180000
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security
:
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -15,6 +15,17 @@ spring:
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/mvp_insurances?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
hikari
:
driver-class-name
:
${spring.datasource.driver-class-name}
jdbc-url
:
${spring.datasource.url}
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
pool-name
:
AmytangHikariCP
minimum-idle
:
10
# 最小空闲连接数量
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
ekp
:
url
:
http://119.96.227.251:8080/api/sys-modeling/appModelRestService/addModel
fdModelId
:
'
181d73279372e5a55438a47d7436ab7e'
...
...
yifu-job/yifu-job-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -10,6 +10,17 @@ spring:
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_job?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
hikari
:
driver-class-name
:
${spring.datasource.driver-class-name}
jdbc-url
:
${spring.datasource.url}
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
pool-name
:
AmytangHikariCP
minimum-idle
:
10
# 最小空闲连接数量
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
config
:
activate
:
on-profile
:
test
\ No newline at end of file
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
e0283015
...
...
@@ -82,7 +82,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
*/
@Override
public
void
listExport
(
HttpServletResponse
response
,
TSalaryStandardSearchVo
searchVo
)
{
String
fileName
=
"
标准薪酬工资表批量
导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
String
fileName
=
"
项目薪酬查询
导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TSalaryStandardExportVo
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
...
...
@@ -108,7 +108,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
}
}
if
(
Common
.
isNotNull
(
list
))
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"
标准薪酬工资
表"
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"
项目薪酬
表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
}
...
...
@@ -118,7 +118,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"
标准薪酬工资
表"
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"
项目薪酬
表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
list
))
{
...
...
yifu-salary/yifu-salary-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -15,3 +15,14 @@ spring:
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/mvp_salary?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
hikari
:
driver-class-name
:
${spring.datasource.driver-class-name}
jdbc-url
:
${spring.datasource.url}
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
pool-name
:
AmytangHikariCP
minimum-idle
:
10
# 最小空闲连接数量
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
e0283015
...
...
@@ -2412,7 +2412,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dispatch
.
setSocialTown
(
socialFund
.
getSocialTown
());
dispatch
.
setSocialReduceDate
(
excel
.
getSocialReduceDate
());
socialFund
.
setSocialReduceStatus
(
CommonConstants
.
ZERO_STRING
);
socialFund
.
setSocialReduceDate
(
excel
.
getSocialReduceDate
());
socialFund
.
setSocialReduceStatus
(
CommonConstants
.
ZERO_STRING
);
socialFund
.
setSocialStatus
(
CommonConstants
.
SIX_STRING
);
// 养老办理状态:0待办理1办理成功2办理失败3已派减
...
...
@@ -2448,7 +2447,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dispatch
.
setFundCity
(
socialFund
.
getFundCity
());
dispatch
.
setFundTown
(
socialFund
.
getFundTown
());
dispatch
.
setFundReduceDate
(
excel
.
getFundReduceDate
());
socialFund
.
setFundReduceDate
(
excel
.
getFundReduceDate
());
socialFund
.
setFundStatus
(
CommonConstants
.
FIVE_STRING
);
socialFund
.
setFundReduceStatus
(
CommonConstants
.
ZERO_STRING
);
}
...
...
yifu-social/yifu-social-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -25,4 +25,4 @@ spring:
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
1800000
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file
yifu-upms/yifu-upms-biz/src/main/resources/application-test.yml
View file @
e0283015
...
...
@@ -26,4 +26,4 @@ spring:
idle-timeout
:
60000
# 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size
:
12
# 连接池最大连接数,默认是10
auto-commit
:
true
#此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime
:
1800000
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file
max-lifetime
:
0
#此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment