Commit b56780e4 authored by Quxl's avatar Quxl

x

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