Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gass-device-report
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
耿迪迪
gass-device-report
Commits
d2e79c27
Commit
d2e79c27
authored
Jan 18, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手动消警 gengdidi
parent
29576095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
DealWithAndSendRecevieDataTask.java
...evicereport/task/impl/DealWithAndSendRecevieDataTask.java
+4
-1
No files found.
src/main/java/com/zehong/gassdevicereport/task/impl/DealWithAndSendRecevieDataTask.java
View file @
d2e79c27
...
...
@@ -4,7 +4,6 @@ import com.zehong.gassdevicereport.constant.Constant;
import
com.zehong.gassdevicereport.entity.ReciveReportData
;
import
com.zehong.gassdevicereport.entity.TDeviceAlarm
;
import
com.zehong.gassdevicereport.entity.TMonitorDevice
;
import
com.zehong.gassdevicereport.service.ISysDictTypeService
;
import
com.zehong.gassdevicereport.service.ITDeviceAlarmService
;
import
com.zehong.gassdevicereport.service.ITMonitorDeviceService
;
import
com.zehong.gassdevicereport.task.ScheduledOfTask
;
...
...
@@ -104,6 +103,10 @@ public class DealWithAndSendRecevieDataTask implements ScheduledOfTask {
}
else
{
if
(
null
!=
alarm
){
if
(
null
==
alarm
.
getEndTime
()){
//手动消警的报警结束更新状态
if
(
"4"
.
equals
(
alarm
.
getDealStatus
())){
alarm
.
setDealStatus
(
""
);
}
alarm
.
setEndTime
(
DateUtils
.
getNowDate
());
itDeviceAlarmService
.
updateTDeviceAlarm
(
alarm
);
pushWedSocket
(
alarm
.
getAlarmId
());
...
...
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