Commit 3d523088 authored by tangwei's avatar tangwei

Merge branch 'developer' of http://172.16.10.76/moa/amos-boot-biz into developer

parents 06ff616b 828eccd4
...@@ -134,10 +134,10 @@ public class AlertCalledController extends BaseController { ...@@ -134,10 +134,10 @@ public class AlertCalledController extends BaseController {
AgencyUserModel user =getUserInfo(); AgencyUserModel user =getUserInfo();
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("userId",user.getUserId()); jsonObject.put("userId",user.getUserId());
jsonObject.put("alertId",alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()); jsonObject.put("alertId",String.valueOf(alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()));
JSONObject jsonObject1 = new JSONObject(); JSONObject jsonObject1 = new JSONObject();
jsonObject.put("alertId",alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()); jsonObject.put("alertId",String.valueOf(alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()));
try { try {
emqKeeper.getMqttClient().publish(alertReportpushTopic, jsonObject.toString().getBytes("UTF-8"), 1, false); emqKeeper.getMqttClient().publish(alertReportpushTopic, jsonObject.toString().getBytes("UTF-8"), 1, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment