Commit e0283015 authored by fangxinjiang's avatar fangxinjiang

薪資配置

parent 194b049f
...@@ -45,8 +45,8 @@ spec: # 资源规范字段 ...@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-archives # 容器的名字 - name: yifu-archives # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-archives-biz:1.0.0 # 容器镜像地址 #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 #临时地址 image: hub.worfu.com/qas-mvp/yifu-archives-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -44,8 +44,8 @@ spec: # 资源规范字段 ...@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-auth # 容器的名字 - name: yifu-auth # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-auth:1.0.0 # 容器镜像地址 #image: 192.168.1.110:5500/qas-mvp/yifu-auth:1.0.0 # 容器镜像地址
image: localhost:5000/qas-mvp/yifu-auth:1.0.0 #临时地址 image: hub.worfu.com/qas-mvp/yifu-auth:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -44,8 +44,8 @@ spec: # 资源规范字段 ...@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-check # 容器的名字 - name: yifu-check # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-check-biz:1.0.0 # 容器镜像地址 #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 #临时地址 image: hub.worfu.com/qas-mvp/yifu-check-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -44,7 +44,7 @@ spec: # 资源规范字段 ...@@ -44,7 +44,7 @@ spec: # 资源规范字段
kubernetes.io/hostname: yfmaster1 kubernetes.io/hostname: yfmaster1
containers: # 容器 containers: # 容器
- name: yifu-insurances # 容器的名字 - 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 # 容器镜像地址 # image: 192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0 # 容器镜像地址
imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
......
...@@ -43,8 +43,8 @@ spec: # 资源规范字段 ...@@ -43,8 +43,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-job # 容器的名字 - name: yifu-job # 容器的名字
#image: hub.yifucenter.com:5500/qas-mvp/yifu-job-biz:1.0.0 # 容器镜像地址 #image: hub.yifucenter.com:5500/qas-mvp/yifu-job-biz:1.0.0 # 容器镜像地址
image: localhost:5000/qas-mvp/yifu-job-biz:1.0.0 #临时地址 image: hub.worfu.com/qas-mvp/yifu-job-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -45,8 +45,8 @@ spec: # 资源规范字段 ...@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-salary # 容器的名字 - name: yifu-salary # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-salary-biz:1.0.0 # 容器镜像地址 #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 #临时地址 image: hub.worfu.com/qas-mvp/yifu-salary-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -45,8 +45,8 @@ spec: # 资源规范字段 ...@@ -45,8 +45,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-social # 容器的名字 - name: yifu-social # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-social-biz:1.0.0 # 容器镜像地址 #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 #临时地址 image: hub.worfu.com/qas-mvp/yifu-social-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -44,8 +44,8 @@ spec: # 资源规范字段 ...@@ -44,8 +44,8 @@ spec: # 资源规范字段
containers: # 容器 containers: # 容器
- name: yifu-upms # 容器的名字 - name: yifu-upms # 容器的名字
#image: 192.168.1.110:5500/qas-mvp/yifu-upms-biz:1.0.0 # 容器镜像地址 #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 #临时地址 image: hub.worfu.com/qas-mvp/yifu-upms-biz:1.0.0 #临时地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: Always # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别, # 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败) # 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
......
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 --> <!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>dev</profiles.active> <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> <map.group.name>qas-mvp</map.group.name>
<!-- 众多参数配置 --> <!-- 众多参数配置 -->
</properties> </properties>
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
<!-- 环境标识,需要与配置文件的名称相对应 --> <!-- 环境标识,需要与配置文件的名称相对应 -->
<profiles.active>test</profiles.active> <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> <map.group.name>qas-mvp</map.group.name>
<!-- 众多参数配置 --> <!-- 众多参数配置 -->
</properties> </properties>
......
...@@ -16,6 +16,17 @@ spring: ...@@ -16,6 +16,17 @@ spring:
password: yf_zsk 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://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 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: servlet:
multipart: multipart:
location: /data/tmp/ location: /data/tmp/
......
...@@ -24,6 +24,17 @@ spring: ...@@ -24,6 +24,17 @@ spring:
password: yf_zsk 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://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 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: freemarker:
allow-request-override: false allow-request-override: false
allow-session-override: false allow-session-override: false
......
...@@ -26,7 +26,7 @@ spring: ...@@ -26,7 +26,7 @@ spring:
idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size: 12 # 连接池最大连接数,默认是10 maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 1800000 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置 ## spring security 配置
security: security:
......
...@@ -15,6 +15,17 @@ spring: ...@@ -15,6 +15,17 @@ spring:
username: root username: root
password: yf_zsk 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 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: ekp:
url: http://119.96.227.251:8080/api/sys-modeling/appModelRestService/addModel url: http://119.96.227.251:8080/api/sys-modeling/appModelRestService/addModel
fdModelId: '181d73279372e5a55438a47d7436ab7e' fdModelId: '181d73279372e5a55438a47d7436ab7e'
......
...@@ -10,6 +10,17 @@ spring: ...@@ -10,6 +10,17 @@ spring:
username: root username: root
password: yf_zsk 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 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: config:
activate: activate:
on-profile: test on-profile: test
\ No newline at end of file
...@@ -82,7 +82,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -82,7 +82,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSalaryStandardSearchVo searchVo) { public void listExport(HttpServletResponse response, TSalaryStandardSearchVo searchVo) {
String fileName = "标准薪酬工资表批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "项目薪酬查询导出" + DateUtil.getThisTime() + ".xlsx";
//获取要导出的列表 //获取要导出的列表
List<TSalaryStandardExportVo> list = new ArrayList<>(); List<TSalaryStandardExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
...@@ -108,7 +108,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -108,7 +108,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
} }
} }
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
WriteSheet writeSheet = EasyExcel.writerSheet("标准薪酬工资表" + index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("项目薪酬表" + index).build();
excelWriter.write(list, writeSheet); excelWriter.write(list, writeSheet);
index++; index++;
} }
...@@ -118,7 +118,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -118,7 +118,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
} }
} }
} else { } else {
WriteSheet writeSheet = EasyExcel.writerSheet("标准薪酬工资表" + index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("项目薪酬表" + index).build();
excelWriter.write(list, writeSheet); excelWriter.write(list, writeSheet);
} }
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
......
...@@ -15,3 +15,14 @@ spring: ...@@ -15,3 +15,14 @@ spring:
username: root username: root
password: yf_zsk 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 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
...@@ -2412,7 +2412,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -2412,7 +2412,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dispatch.setSocialTown(socialFund.getSocialTown()); dispatch.setSocialTown(socialFund.getSocialTown());
dispatch.setSocialReduceDate(excel.getSocialReduceDate()); dispatch.setSocialReduceDate(excel.getSocialReduceDate());
socialFund.setSocialReduceStatus(CommonConstants.ZERO_STRING); socialFund.setSocialReduceStatus(CommonConstants.ZERO_STRING);
socialFund.setSocialReduceDate(excel.getSocialReduceDate());
socialFund.setSocialReduceStatus(CommonConstants.ZERO_STRING); socialFund.setSocialReduceStatus(CommonConstants.ZERO_STRING);
socialFund.setSocialStatus(CommonConstants.SIX_STRING); socialFund.setSocialStatus(CommonConstants.SIX_STRING);
// 养老办理状态:0待办理1办理成功2办理失败3已派减 // 养老办理状态:0待办理1办理成功2办理失败3已派减
...@@ -2448,7 +2447,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -2448,7 +2447,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dispatch.setFundCity(socialFund.getFundCity()); dispatch.setFundCity(socialFund.getFundCity());
dispatch.setFundTown(socialFund.getFundTown()); dispatch.setFundTown(socialFund.getFundTown());
dispatch.setFundReduceDate(excel.getFundReduceDate()); dispatch.setFundReduceDate(excel.getFundReduceDate());
socialFund.setFundReduceDate(excel.getFundReduceDate());
socialFund.setFundStatus(CommonConstants.FIVE_STRING); socialFund.setFundStatus(CommonConstants.FIVE_STRING);
socialFund.setFundReduceStatus(CommonConstants.ZERO_STRING); socialFund.setFundReduceStatus(CommonConstants.ZERO_STRING);
} }
......
...@@ -25,4 +25,4 @@ spring: ...@@ -25,4 +25,4 @@ spring:
idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size: 12 # 连接池最大连接数,默认是10 maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 1800000 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file \ No newline at end of file
...@@ -26,4 +26,4 @@ spring: ...@@ -26,4 +26,4 @@ spring:
idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 60000 # 空闲连接存活最大时间,默认600000(10分钟)
maximum-pool-size: 12 # 连接池最大连接数,默认是10 maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 1800000 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment