Commit b56780e4 authored by Quxl's avatar Quxl

x

parent a920c8ce
...@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask { ...@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask {
@Autowired @Autowired
private JdbcTemplate jdbcTemplate; private JdbcTemplate jdbcTemplate;
@Value("${wsdlLocation.009}") @Value("${sap.009.wsdl}")
private String wsdlLocaltion; private String wsdlLocaltion;
@Scheduled(cron="0 0 3 * * ?") @Scheduled(cron="${sap.009.cron}")
public void execute() throws Exception { public void execute() throws Exception {
this.runTask(); this.runTask();
} }
......
wsUsername: test wsUsername: test
wsPassword: 78258c537d6e4d5fb210a57d05619fb6 wsPassword: 78258c537d6e4d5fb210a57d05619fb6
wsdlLocation: sap:
009: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl 009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
spring: spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
......
wsUsername: schneider wsUsername: schneider
wsPassword: f14d4a80f823438a875b1924384c944c wsPassword: f14d4a80f823438a875b1924384c944c
wsdlLocation: sap:
009: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl 009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
spring: spring:
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
......
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