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
You need to sign in or sign up before continuing.
Commit
f3287159
authored
Jan 08, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分任务
parent
92b1508f
Show 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;
import
com.xxl.job.core.biz.model.ReturnT
;
import
com.xxl.job.core.handler.annotation.XxlJob
;
import
com.xxl.job.core.log.XxlJobLogger
;
import
com.yizhi.point.application.feign.PointListenerClients
;
import
com.yizhi.xxl.job.executor.service.job.*
;
import
io.swagger.models.auth.In
;
import
org.apache.commons.lang3.StringUtils
;
...
...
@@ -69,6 +70,8 @@ public class BeanJobCenter {
private
PointJob
pointJob
;
@Autowired
private
PointDetailsJob
pointDetailsJob
;
@Autowired
private
PointListenerClients
pointListenerClients
;
// 0 0/5 * * * ?
@XxlJob
(
"organizationRedisJob"
)
...
...
@@ -355,4 +358,16 @@ public class BeanJobCenter {
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