Browse Source

优化钱塘江设备管理页面,巡视设备坐标获取进行限制

master
wangguangyuan 2 weeks ago
parent
commit
08e502e465
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-metadata/src/main/resources/mapper/montdata/BasedataMontPatDevPatRouteMapper.xml

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

@ -656,7 +656,7 @@
b.alg_type, b.alg_type,
d.alg_subtype_name as alg_name d.alg_subtype_name as alg_name
from patrol_result a from patrol_result a
left join result_analysis b on a.line_id = b.business_id
left join result_analysis b on a.line_id = b.business_id and a.task_patrolled_id = b.task_patrol_id and a.device_id = b.objectId
left join basedata_alg_subtype d on b.alg_type = d.alg_subtype_code left join basedata_alg_subtype d on b.alg_type = d.alg_subtype_code
left join patrol_task_info c on a.task_code = c.task_major_id left join patrol_task_info c on a.task_code = c.task_major_id
and a.device_id = c.device_id and a.device_id = c.device_id


+ 1
- 1
inspect-metadata/src/main/resources/mapper/montdata/BasedataMontPatDevPatRouteMapper.xml View File

@ -141,7 +141,7 @@
ORDER BY ORDER BY
time DESC time DESC
LIMIT 1) LIMIT 1)
and patrol_device_code=#{patrolDeviceCode}
and patrol_device_code=#{patrolDeviceCode} order by time desc limit 10
</select> </select>
<select id="getRouteList" parameterType="String" resultMap="CoordResult"> <select id="getRouteList" parameterType="String" resultMap="CoordResult">


Loading…
Cancel
Save