Browse Source

fix:钱塘江站巡视报错

master
wangguangyuan 6 months ago
parent
commit
dc6d7e175c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml
  2. +1
    -1
      inspect-main/inspect-main-task/src/main/resources/mapper/task/ResultAnalysisMapper.xml

+ 1
- 1
inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml View File

@ -508,7 +508,7 @@
left join basedata_alg_subtype b on a.alg_subtype_ids = b.alg_subtype_id
left join basedata_alg c on b.alg_id = c.alg_id
where CONVERT(a.patrol_point_id, CHAR) = #{lineId}
OR a.patrol_point_code LIKE concat('%', #{lineId})
OR a.patrol_point_code LIKE concat('%', #{lineId}) limit 1
</select>
<select id="selectAlgorithmInfo" parameterType="String" resultType="java.util.Map">
select *


+ 1
- 1
inspect-main/inspect-main-task/src/main/resources/mapper/task/ResultAnalysisMapper.xml View File

@ -283,7 +283,7 @@
<select id="selectPointInfoById" parameterType="String" resultType="java.util.Map">
select *
from basedata_patrolpoint
where CONVERT(patrol_point_id, CHAR) = #{deviceId} OR patrol_point_code LIKE concat('%',#{deviceId})
where CONVERT(patrol_point_id, CHAR) = #{deviceId} OR patrol_point_code LIKE concat('%',#{deviceId}) limit 1
</select>
<select id="selectChannelByEqId" parameterType="String" resultType="java.util.Map">
select *


Loading…
Cancel
Save