Commit d23f2261 authored by zhangsen's avatar zhangsen

bug修改

parent d4c85a91
......@@ -749,7 +749,7 @@
SELECT a.*,
row_number() over ( ORDER BY pointName ) AS id
FROM (
SELECT ARAE AS area,
(SELECT ARAE AS area,
STATION AS station,
EQUIPMENT_NAME AS equipmentName,
SUB_SYSTEM AS subSystem,
......@@ -763,8 +763,9 @@
AND SUB_SYSTEM is not null
AND POINT_NAME is not null
AND INDEX_ADDRESS is not null
order by KKS ASC)
UNION ALL
SELECT ARAE AS area,
(SELECT ARAE AS area,
STATION AS station,
SUBARRAY AS equipmentName,
EQUIPMENT_NAME AS subSystem,
......@@ -778,6 +779,7 @@
AND EQUIPMENT_NAME is not null
AND POINT_NAME is not null
AND INDEX_ADDRESS is not null
order by KKS ASC)
) a
</select>
......
......@@ -9,7 +9,7 @@
values
<foreach collection="list" separator="," item="item" index="index">
(
now + #{index},
now,
#{item.recDate, jdbcType=VARCHAR},
#{item.analysisObjType, jdbcType=VARCHAR},
#{item.analysisObjSeq, jdbcType=VARCHAR},
......
......@@ -42,7 +42,7 @@
values
<foreach collection="list" separator="," item="item" index="index">
(
now + #{index},
now,
#{item.recDate, jdbcType=VARCHAR},
#{item.analysisObjType, jdbcType=VARCHAR},
#{item.analysisObjSeq, jdbcType=VARCHAR},
......
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