Commit 8e055b26 authored by zhangsen's avatar zhangsen

消息推送

parent 5b1e127d
...@@ -593,7 +593,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -593,7 +593,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
public void afterCommit() { public void afterCommit() {
// 组态大屏消息推送,设备表实时指标修改 // 组态大屏消息推送,设备表实时指标修改
// intePageSysDataRefresh(equipmentSpecificIndexList, topicEntity); // intePageSysDataRefresh(equipmentSpecificIndexList, topicEntity);
mqttSendGateway.sendToMqtt(TopicEnum.EQXXTJ.getTopic(), ""); mqttSendGateway.sendToMqtt(TopicEnum.EQXXTJ.getTopic(), String.valueOf(System.currentTimeMillis()));
} }
}); });
} }
...@@ -1159,7 +1159,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -1159,7 +1159,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
*/ */
public void intePageSysDataRefresh(List<EquipmentSpecificIndex> equipmentSpecificIndexList, public void intePageSysDataRefresh(List<EquipmentSpecificIndex> equipmentSpecificIndexList,
TopicEntityVo topicEntity) { TopicEntityVo topicEntity) {
mqttSendGateway.sendToMqtt(TopicEnum.EQXXTJ.getTopic(), ""); mqttSendGateway.sendToMqtt(TopicEnum.EQXXTJ.getTopic(), String.valueOf(System.currentTimeMillis()));
iEquipmentSpecificSerivce.integrationPageSysDataRefresh(topicEntity.getCode()); iEquipmentSpecificSerivce.integrationPageSysDataRefresh(topicEntity.getCode());
} }
......
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