Commit a35724c7 authored by chenzhao's avatar chenzhao

人大金仓适配 分析服务修改

parent 96e1312e
...@@ -504,8 +504,8 @@ FROM ( ...@@ -504,8 +504,8 @@ FROM (
<select id="getFanInfoByPage" resultType="java.util.Map"> <select id="getFanInfoByPage" resultType="java.util.Map">
SELECT SELECT
EQUIPMENT_NAME as equipmentName, EQUIPMENT_NAME as equipmentName,
INDEX_ADDRESS as indexAddress, max(INDEX_ADDRESS) as indexAddress,
STATION as station max(STATION) as station
FROM FROM
idx_biz_fan_point_process_variable_classification idx_biz_fan_point_process_variable_classification
<where> <where>
...@@ -539,7 +539,7 @@ FROM ( ...@@ -539,7 +539,7 @@ FROM (
<select id="getSumSystemListByEquipment" resultType="java.util.Map"> <select id="getSumSystemListByEquipment" resultType="java.util.Map">
SELECT SELECT
SUB_SYSTEM as subSystem, SUB_SYSTEM as subSystem,
INDEX_ADDRESS as indexAddress max(INDEX_ADDRESS) as indexAddress
FROM FROM
idx_biz_fan_point_process_variable_classification idx_biz_fan_point_process_variable_classification
<where> <where>
...@@ -737,8 +737,8 @@ FROM ( ...@@ -737,8 +737,8 @@ FROM (
<select id="getPvPointNameListBySumSystem" resultType="java.util.Map"> <select id="getPvPointNameListBySumSystem" resultType="java.util.Map">
SELECT SELECT
POINT_NAME as pointName, POINT_NAME as pointName,
INDEX_ADDRESS as indexAddress, MAX(INDEX_ADDRESS) as indexAddress,
STATION AS station MAX(STATION) AS station
FROM FROM
idx_biz_pv_point_process_variable_classification idx_biz_pv_point_process_variable_classification
<where> <where>
......
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