Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 756f43d2
authored
Nov 30, 2023
by
Ren Ping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:自动任务截止时间优化
1 parent
c7e4b8bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SchedulerServiceImpl.java
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SchedulerServiceImpl.java
View file @
756f43d
...
...
@@ -98,7 +98,6 @@ public class SchedulerServiceImpl implements SchedulerService {
String
nextTime
=
DateUtil
.
format
(
nextFireTime
,
"HH:mm"
);
boolean
cutOff
=
false
;
//当前时间大于等于截止时间,或者当前时间+30分钟大于截止时间,运行停止
if
(
nextTime
.
compareTo
(
cutOffTime
)
>
0
)
{
cutOff
=
true
;
}
...
...
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