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
63106b0f
Commit
63106b0f
authored
Jul 08, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
b7dd0a90
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
SSOApplication.java
src/main/java/com/egolm/sso/SSOApplication.java
+1
-1
TestController.java
src/main/java/com/schneider_distributor/TestController.java
+19
-0
ZMISD009SOCREATIONTask.java
...ava/com/schneider_distributor/ZMISD009SOCREATIONTask.java
+1
-1
No files found.
src/main/java/com/egolm/sso/SSOApplication.java
View file @
63106b0f
...
...
@@ -8,7 +8,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableScheduling
@EnableTransactionManagement
@SpringBootApplication
(
scanBasePackages
=
{
"com.
com.
schneider_distributor"
,
"com.egolm.sso"
})
@SpringBootApplication
(
scanBasePackages
=
{
"com.schneider_distributor"
,
"com.egolm.sso"
})
public
class
SSOApplication
{
private
static
ApplicationContext
applicationContext
;
...
...
src/main/java/com/schneider_distributor/TestController.java
0 → 100644
View file @
63106b0f
package
com
.
schneider_distributor
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
public
class
TestController
{
@Autowired
ZMISD009SOCREATIONTask
task
;
@RequestMapping
(
"/EX009"
)
public
void
executeZMISD009SOCREATIONTask
()
{
task
.
runTask
();
}
}
src/main/java/com/schneider_distributor/ZMISD009SOCREATIONTask.java
View file @
63106b0f
...
...
@@ -6,7 +6,7 @@ import org.springframework.stereotype.Component;
@Component
public
class
ZMISD009SOCREATIONTask
{
@Scheduled
(
cron
=
"0
* *
* * ?"
)
@Scheduled
(
cron
=
"0
0 3
* * ?"
)
public
void
execute
()
{
this
.
runTask
();
}
...
...
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