Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
b56780e4
Commit
b56780e4
authored
Jul 09, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a920c8ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
ZMISD009SOCREATIONTask.java
...ava/com/schneider_distributor/ZMISD009SOCREATIONTask.java
+2
-2
application-dev.yml
src/main/resources/application-dev.yml
+4
-2
application-pro.yml
src/main/resources/application-pro.yml
+4
-2
No files found.
src/main/java/com/schneider_distributor/ZMISD009SOCREATIONTask.java
View file @
b56780e4
...
@@ -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
();
}
}
...
...
src/main/resources/application-dev.yml
View file @
b56780e4
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
...
...
src/main/resources/application-pro.yml
View file @
b56780e4
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment