Commit 862e75fd authored by Quxl's avatar Quxl

x

parent 1678f158
...@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask { ...@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask {
@Autowired @Autowired
private JdbcTemplate jdbcTemplate; private JdbcTemplate jdbcTemplate;
@Value("${sap.009.wsdl}") @Value("${SAP.NO009.WSDL}")
private String wsdlLocaltion; private String wsdlLocaltion;
@Scheduled(cron="${sap.009.cron}") @Scheduled(cron="${SAP.NO009.WSDL}")
public void execute() throws Exception { public void execute() throws Exception {
this.runTask(); this.runTask();
} }
......
wsUsername: test wsUsername: test
wsPassword: 78258c537d6e4d5fb210a57d05619fb6 wsPassword: 78258c537d6e4d5fb210a57d05619fb6
sap: SAP:
009: NO009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ? CRON: '0 0 0 * * ?'
spring: spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8 url: 'jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username: root username: root
password: 'egolm#2018' password: 'egolm#2018'
maxActive: 20 maxActive: 20
initialSize: 1 initialSize: 1
maxWait: 60000 maxWait: 60000
minIdle: 1 minIdle: 1
timeBetweenEvictionRunsMillis: 60000 timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000 minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true testWhileIdle: true
testOnBorrow: true testOnBorrow: true
testOnReturn: true testOnReturn: true
poolPreparedStatements: true poolPreparedStatements: true
maxOpenPreparedStatements: 20 maxOpenPreparedStatements: 20
\ No newline at end of file
wsUsername: schneider wsUsername: schneider
wsPassword: f14d4a80f823438a875b1924384c944c wsPassword: f14d4a80f823438a875b1924384c944c
sap: SAP:
009: NO009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ? CRON: '0 0 0 * * ?'
spring: spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8 url: 'jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username: root username: root
password: 'egolm#2018' password: 'egolm#2018'
maxActive: 20 maxActive: 20
initialSize: 1 initialSize: 1
maxWait: 60000 maxWait: 60000
minIdle: 1 minIdle: 1
timeBetweenEvictionRunsMillis: 60000 timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000 minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true testWhileIdle: true
testOnBorrow: true testOnBorrow: true
testOnReturn: true testOnReturn: true
poolPreparedStatements: true poolPreparedStatements: true
maxOpenPreparedStatements: 20 maxOpenPreparedStatements: 20
\ No newline at end of file
server: server:
port: 9090 port: 8080
spring: spring:
profiles: profiles:
active: dev active: dev
......
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