Commit 862e75fd authored by Quxl's avatar Quxl

x

parent 1678f158
......@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask {
@Autowired
private JdbcTemplate jdbcTemplate;
@Value("${sap.009.wsdl}")
@Value("${SAP.NO009.WSDL}")
private String wsdlLocaltion;
@Scheduled(cron="${sap.009.cron}")
@Scheduled(cron="${SAP.NO009.WSDL}")
public void execute() throws Exception {
this.runTask();
}
......
wsUsername: test
wsPassword: 78258c537d6e4d5fb210a57d05619fb6
sap:
009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
SAP:
NO009:
WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
CRON: '0 0 0 * * ?'
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
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
password: 'egolm#2018'
maxActive: 20
......
wsUsername: schneider
wsPassword: f14d4a80f823438a875b1924384c944c
sap:
009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
SAP:
NO009:
WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
CRON: '0 0 0 * * ?'
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
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
password: 'egolm#2018'
maxActive: 20
......
server:
port: 9090
port: 8080
spring:
profiles:
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