Commit dc587efd authored by 高东东's avatar 高东东

Merge branch 'dev_upgrade' of…

Merge branch 'dev_upgrade' of http://39.98.45.134:8090/station/YeeAmosFireAutoSysRoot into dev_upgrade
parents de1edd17 e3dbaaea
...@@ -826,6 +826,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService { ...@@ -826,6 +826,7 @@ public class RiskSourceServiceImpl implements IRiskSourceService {
specificIndexVo.setName(name); specificIndexVo.setName(name);
specificIndexVo.setCode(protalData.getPointNo()); specificIndexVo.setCode(protalData.getPointNo());
specificIndexVo.setType("patrol"); specificIndexVo.setType("patrol");
specificIndexVo.setTypeCode("patrol");
specificIndexVo.setNameKey("patrol"); specificIndexVo.setNameKey("patrol");
if ("2".equals(nodeState) || "3".equals(nodeState)) { if ("2".equals(nodeState) || "3".equals(nodeState)) {
specificIndexVo.setValue("true"); specificIndexVo.setValue("true");
......
...@@ -70,10 +70,12 @@ ...@@ -70,10 +70,12 @@
wes.realtime_iot_index_key AS name_key, wes.realtime_iot_index_key AS name_key,
wes.realtime_iot_index_name AS equipmentIndexName, wes.realtime_iot_index_name AS equipmentIndexName,
wes.realtime_iot_index_value AS `value`, wes.realtime_iot_index_value AS `value`,
'equip' AS type 'equip' AS type,
ei.type_code as typeCode,
wes.iot_code as iotCode
FROM FROM
wl_equipment_specific wes wl_equipment_specific wes
LEFT JOIN wl_equipment_index ei ON ei.id = wes.realtime_iot_es_index_id LEFT JOIN wl_equipment_index ei ON ei.id = wes.realtime_iot_index_id
WHERE WHERE
ei.is_iot = 1 ei.is_iot = 1
<if test="value != null and value != ''"> <if test="value != null and value != ''">
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
p.point_no AS `code`, p.point_no AS `code`,
'patrol' AS type, 'patrol' AS type,
'patrol' AS nameKey, 'patrol' AS nameKey,
'patrol' AS typeCode,
CASE CASE
WHEN p.`status` = '2' THEN WHEN p.`status` = '2' THEN
'true' '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