Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-xxljobexecutor
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-xxljobexecutor
Commits
f3287159
Commit
f3287159
authored
Jan 08, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分任务
parent
92b1508f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/main/java/com/yizhi/xxl/job/executor/service/jobhandler/BeanJobCenter.java
+15
-0
No files found.
src/main/java/com/yizhi/xxl/job/executor/service/jobhandler/BeanJobCenter.java
View file @
f3287159
...
@@ -3,6 +3,7 @@ package com.yizhi.xxl.job.executor.service.jobhandler;
...
@@ -3,6 +3,7 @@ package com.yizhi.xxl.job.executor.service.jobhandler;
import
com.xxl.job.core.biz.model.ReturnT
;
import
com.xxl.job.core.biz.model.ReturnT
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
com.xxl.job.core.log.XxlJobLogger
;
import
com.xxl.job.core.log.XxlJobLogger
;
import
com.yizhi.point.application.feign.PointListenerClients
;
import
com.yizhi.xxl.job.executor.service.job.*
;
import
com.yizhi.xxl.job.executor.service.job.*
;
import
io.swagger.models.auth.In
;
import
io.swagger.models.auth.In
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
...
@@ -69,6 +70,8 @@ public class BeanJobCenter {
...
@@ -69,6 +70,8 @@ public class BeanJobCenter {
private
PointJob
pointJob
;
private
PointJob
pointJob
;
@Autowired
@Autowired
private
PointDetailsJob
pointDetailsJob
;
private
PointDetailsJob
pointDetailsJob
;
@Autowired
private
PointListenerClients
pointListenerClients
;
// 0 0/5 * * * ?
// 0 0/5 * * * ?
@XxlJob
(
"organizationRedisJob"
)
@XxlJob
(
"organizationRedisJob"
)
...
@@ -355,4 +358,16 @@ public class BeanJobCenter {
...
@@ -355,4 +358,16 @@ public class BeanJobCenter {
return
ReturnT
.
SUCCESS
;
return
ReturnT
.
SUCCESS
;
}
}
@XxlJob
(
"hadPointList"
)
public
ReturnT
<
String
>
hadPointList
(
String
param
)
{
try
{
pointListenerClients
.
hadPointList
();
}
catch
(
Exception
e
)
{
XxlJobLogger
.
log
(
e
);
return
ReturnT
.
FAIL
;
}
return
ReturnT
.
SUCCESS
;
}
}
}
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