Commit d95cbd07 authored by suhuiguang's avatar suhuiguang

Merge branch 'dev_upgrade-1225' of…

Merge branch 'dev_upgrade-1225' of http://172.16.10.76/station/YeeAmosFireAutoSysRoot into dev_upgrade-1225
parents 92c88642 2e32c025
...@@ -992,6 +992,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService { ...@@ -992,6 +992,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
@javax.transaction.Transactional @javax.transaction.Transactional
public String processFireEqumtData(AlarmParam deviceData) throws Exception { public String processFireEqumtData(AlarmParam deviceData) throws Exception {
EquipmentSpecificIndexVo equipmentSpecificIndexVo = impAndFireEquipMapper.findFireEqupmentByCode(deviceData.getPointCode()); EquipmentSpecificIndexVo equipmentSpecificIndexVo = impAndFireEquipMapper.findFireEqupmentByCode(deviceData.getPointCode());
Optional.ofNullable(equipmentSpecificIndexVo).orElseThrow(() -> new Exception("未查询到相关装备"));
TopicEntityVo topicEntity = new TopicEntityVo(); TopicEntityVo topicEntity = new TopicEntityVo();
topicEntity.setMessage(JSON.toJSONString(equipmentSpecificIndexVo)); topicEntity.setMessage(JSON.toJSONString(equipmentSpecificIndexVo));
String data = JSON.toJSONString(topicEntity); String data = JSON.toJSONString(topicEntity);
......
...@@ -3,7 +3,7 @@ server.port = 8083 ...@@ -3,7 +3,7 @@ server.port = 8083
spring.profiles.active=dev spring.profiles.active=dev
#应用product appkey #应用product appkey
security.productWeb=STUDIO_APP_WEB security.productWeb=STUDIO_APP_WEB
security.appKeyWeb=studio_normalapp_2668446 security.appKeyWeb=studio_normalapp_2681691
#spring.freemarker.cache=false #spring.freemarker.cache=false
spring.devtools.restart.enabled=true spring.devtools.restart.enabled=true
......
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