Commit d23f2261 authored by zhangsen's avatar zhangsen

bug修改

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