Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
4d612c11
Commit
4d612c11
authored
Sep 30, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
44f5f2f9
6f65ce96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
RepairConsultServiceImpl.java
...module/tzs/biz/service/impl/RepairConsultServiceImpl.java
+3
-3
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/RepairConsultServiceImpl.java
View file @
4d612c11
...
@@ -267,10 +267,9 @@ public class RepairConsultServiceImpl extends BaseService<RepairConsultDto,Repai
...
@@ -267,10 +267,9 @@ public class RepairConsultServiceImpl extends BaseService<RepairConsultDto,Repai
if
(
flag
)
{
if
(
flag
)
{
// 记录处置记录后修改 案件状态
// 记录处置记录后修改 案件状态
alertCalledServiceImpl
.
updateAlertStage
(
alertCalledVo
,
CZHJ
);
alertCalledServiceImpl
.
updateAlertStage
(
alertCalledVo
,
CZHJ
);
// 警情伤亡消息 矩阵 消息
// 警情伤亡消息 矩阵 消息
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"userId"
,
user
.
getUserId
());
jsonObject
.
put
(
"alertId"
,
String
.
valueOf
(
alertCalledVo
.
getSequenceNbr
()));
jsonObject
.
put
(
"alertId"
,
alertCalledVo
.
getSequenceNbr
());
try
{
try
{
emqKeeper
.
getMqttClient
().
publish
(
alertHeartpushTopic
,
jsonObject
.
toString
().
getBytes
(
"UTF-8"
),
1
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
alertHeartpushTopic
,
jsonObject
.
toString
().
getBytes
(
"UTF-8"
),
1
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
alertMatrixpushTopic
,
jsonObject
.
toString
().
getBytes
(
"UTF-8"
),
1
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
alertMatrixpushTopic
,
jsonObject
.
toString
().
getBytes
(
"UTF-8"
),
1
,
false
);
...
@@ -280,6 +279,7 @@ public class RepairConsultServiceImpl extends BaseService<RepairConsultDto,Repai
...
@@ -280,6 +279,7 @@ public class RepairConsultServiceImpl extends BaseService<RepairConsultDto,Repai
}
catch
(
UnsupportedEncodingException
e
)
{
}
catch
(
UnsupportedEncodingException
e
)
{
logger
.
error
(
"mqtt发送失败"
+
jsonObject
);
logger
.
error
(
"mqtt发送失败"
+
jsonObject
);
}
}
}
}
return
flag
;
return
flag
;
}
}
...
...
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