Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ba46797f
authored
Jun 23, 2025
by
许雪里
Committed by
GitHub
Jun 23, 2025
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #2417 from JemGao/master
任务管理新增、修改 去除JobHandler(executor_handler)的空格
2 parents
b96d2296
1c843102
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java
xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java
View file @
ba46797
...
@@ -155,6 +155,8 @@ public class XxlJobServiceImpl implements XxlJobService {
...
@@ -155,6 +155,8 @@ public class XxlJobServiceImpl implements XxlJobService {
jobInfo
.
setAddTime
(
new
Date
());
jobInfo
.
setAddTime
(
new
Date
());
jobInfo
.
setUpdateTime
(
new
Date
());
jobInfo
.
setUpdateTime
(
new
Date
());
jobInfo
.
setGlueUpdatetime
(
new
Date
());
jobInfo
.
setGlueUpdatetime
(
new
Date
());
// remove the whitespace
jobInfo
.
setExecutorHandler
(
jobInfo
.
getExecutorHandler
().
trim
());
xxlJobInfoDao
.
save
(
jobInfo
);
xxlJobInfoDao
.
save
(
jobInfo
);
if
(
jobInfo
.
getId
()
<
1
)
{
if
(
jobInfo
.
getId
()
<
1
)
{
return
new
ReturnT
<
String
>(
ReturnT
.
FAIL_CODE
,
(
I18nUtil
.
getString
(
"jobinfo_field_add"
)+
I18nUtil
.
getString
(
"system_fail"
))
);
return
new
ReturnT
<
String
>(
ReturnT
.
FAIL_CODE
,
(
I18nUtil
.
getString
(
"jobinfo_field_add"
)+
I18nUtil
.
getString
(
"system_fail"
))
);
...
@@ -290,7 +292,8 @@ public class XxlJobServiceImpl implements XxlJobService {
...
@@ -290,7 +292,8 @@ public class XxlJobServiceImpl implements XxlJobService {
exists_jobInfo
.
setScheduleConf
(
jobInfo
.
getScheduleConf
());
exists_jobInfo
.
setScheduleConf
(
jobInfo
.
getScheduleConf
());
exists_jobInfo
.
setMisfireStrategy
(
jobInfo
.
getMisfireStrategy
());
exists_jobInfo
.
setMisfireStrategy
(
jobInfo
.
getMisfireStrategy
());
exists_jobInfo
.
setExecutorRouteStrategy
(
jobInfo
.
getExecutorRouteStrategy
());
exists_jobInfo
.
setExecutorRouteStrategy
(
jobInfo
.
getExecutorRouteStrategy
());
exists_jobInfo
.
setExecutorHandler
(
jobInfo
.
getExecutorHandler
());
// remove the whitespace
exists_jobInfo
.
setExecutorHandler
(
jobInfo
.
getExecutorHandler
().
trim
());
exists_jobInfo
.
setExecutorParam
(
jobInfo
.
getExecutorParam
());
exists_jobInfo
.
setExecutorParam
(
jobInfo
.
getExecutorParam
());
exists_jobInfo
.
setExecutorBlockStrategy
(
jobInfo
.
getExecutorBlockStrategy
());
exists_jobInfo
.
setExecutorBlockStrategy
(
jobInfo
.
getExecutorBlockStrategy
());
exists_jobInfo
.
setExecutorTimeout
(
jobInfo
.
getExecutorTimeout
());
exists_jobInfo
.
setExecutorTimeout
(
jobInfo
.
getExecutorTimeout
());
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment