Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
TDLCloud
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
WitCloud
TDLCloud
Commits
6afead7a
Commit
6afead7a
authored
Sep 06, 2019
by
zhuangzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update AlarmLogController.java
parent
0199314c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AlarmLogController.java
src/main/java/com/example/tdl/web/AlarmLogController.java
+3
-3
No files found.
src/main/java/com/example/tdl/web/AlarmLogController.java
View file @
6afead7a
...
...
@@ -178,7 +178,7 @@ public class AlarmLogController {
}
//判断当前报警状态
AlarmNoVo
alarmNoVo
=
gatewayService
.
getByGateway
(
addAlarmLogVo
.
getGsn
(),
addAlarmLogVo
.
getGtype
());
if
(
alarmNoVo
.
getMode
()
==
1
){
if
(
alarmNoVo
!=
null
&&
alarmNoVo
.
getMode
()
==
1
){
ResultCircuitVo
resultCircuitVo
=
circuitService
.
getCircuit
(
alarmNoVo
.
getTransportationNo
());
if
(
addAlarmLogVo
.
getAlarmno
()
!=
null
){
//网关离线报警
...
...
@@ -225,7 +225,7 @@ public class AlarmLogController {
}
}
}
else
{
}
else
if
(
alarmNoVo
!=
null
&&
alarmNoVo
.
getMode
()
==
2
)
{
//获取最后一条发送的报警时间
Long
alarmTime
=
warehouseAlarmLogService
.
getLastProcessedAlarm
(
alarmNoVo
.
getWarehouseNo
());
//获取联系人信息
...
...
@@ -272,7 +272,7 @@ public class AlarmLogController {
desp
=
"TDL("
+
addAlarmLogVo
.
getAlarm
().
get
(
i
).
getTdlsn
()
+
")"
+
desp
;
classify
=
"6"
;
}
Long
time
=
addAlarmLogVo
.
getTs
();
Long
time
=
addAlarmLogVo
.
get
Alarm
().
get
(
i
).
get
Ts
();
if
(
time
.
toString
().
length
()
==
10
){
time
=
time
*
1000
;
}
...
...
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