Browse Source

fix:上传的巡视结果点位id已统一处理成智巡点位id,不需要这样的写法兼容了

master
wangguangyuan 2 weeks ago
parent
commit
03ddf5e060
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      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
- 2
inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml View File

@ -537,8 +537,7 @@
from basedata_patrolpoint a
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}) limit 1
where CONVERT(a.patrol_point_id, CHAR) = #{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

@ -295,7 +295,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}) limit 1
where CONVERT(patrol_point_id, CHAR) = #{deviceId} limit 1
</select>
<select id="selectChannelByEqId" parameterType="String" resultType="java.util.Map">
select *


Loading…
Cancel
Save