Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_java
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
葛齐林
energyai_java
Commits
492b1dc7
Commit
492b1dc7
authored
Apr 13, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口调整
parent
7503fa3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
EquipmentController.java
...form/admin/modules/eq/controller/EquipmentController.java
+1
-1
No files found.
microservice-admin/src/main/java/com/devplatform/admin/modules/eq/controller/EquipmentController.java
View file @
492b1dc7
...
...
@@ -92,7 +92,7 @@ public class EquipmentController extends AbstractController {
//如果切换成节能模式,则关闭定时任务
if
(
type
==
Constants
.
INT_2
){
TimedTask
timedTask
=
timedTaskService
.
getOne
(
new
LambdaQueryWrapper
<
TimedTask
>().
last
(
"limit 1"
));
TimedTask
timedTask
=
timedTaskService
.
getOne
(
new
LambdaQueryWrapper
<
TimedTask
>().
eq
(
TimedTask:
:
getStatus
,
Constants
.
INT_1
).
last
(
"limit 1"
));
if
(
timedTask
!=
null
){
this
.
timedTask
(
timedTask
.
getId
(),
timedTask
.
getStartTime
(),
timedTask
.
getEndTime
(),
Constants
.
INT_2
,
""
);
}
...
...
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