Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
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
耿迪迪
zhmes-agecal
Commits
a968586c
Commit
a968586c
authored
Dec 03, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 读取定时任务时间设置空字符串调整
parent
344043d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
DeviceTaskScheduler.java
...main/java/com/zehong/system/task/DeviceTaskScheduler.java
+4
-3
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/task/DeviceTaskScheduler.java
View file @
a968586c
package
com
.
zehong
.
system
.
task
;
import
com.zehong.common.constant.RoboticArmConstans
;
import
com.zehong.common.utils.StringUtils
;
import
com.zehong.quartz.config.QuartzTaskMonitor
;
import
com.zehong.system.service.ISysConfigService
;
import
com.zehong.system.task.DeviceCommJob.DeviceComm501Device1Job
;
...
...
@@ -246,7 +247,7 @@ public class DeviceTaskScheduler {
String
s
=
sysConfigService
.
directSelectConfigByKey
(
RoboticArmConstans
.
AGING_STAGE1_TIME
);
int
delayMin
=
0
;
if
(
s
!=
null
)
{
if
(
StringUtils
.
isNotBlank
(
s
)
)
{
delayMin
=
Integer
.
parseInt
(
s
);
}
if
(
delayMin
==
0
)
{
...
...
@@ -302,7 +303,7 @@ public class DeviceTaskScheduler {
String
s
=
sysConfigService
.
directSelectConfigByKey
(
RoboticArmConstans
.
AGING_STAGE2_TIME
);
int
delayMin
=
0
;
if
(
s
!=
null
)
{
if
(
StringUtils
.
isNotBlank
(
s
)
)
{
delayMin
=
Integer
.
parseInt
(
s
);
}
if
(
delayMin
==
0
)
{
...
...
@@ -345,7 +346,7 @@ public class DeviceTaskScheduler {
String
s
=
sysConfigService
.
directSelectConfigByKey
(
RoboticArmConstans
.
AGING_STAGE3_TIME
);
int
delayMin
=
0
;
if
(
s
!=
null
)
{
if
(
StringUtils
.
isNotBlank
(
s
)
)
{
delayMin
=
Integer
.
parseInt
(
s
);
}
if
(
delayMin
==
0
)
{
...
...
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