zhubaomin
2025-04-07 ecef3df4890be54c1da2a8a4fc1c8c1f50f1c263
pipIrr-platform/pipIrr-global/src/main/resources/mapper/OpeTrackMapper.xml
@@ -109,7 +109,8 @@
    </foreach>
  </insert>
    <!--根据巡检id查询轨迹-->
  <select id="selectByInspectId" resultMap="BaseResultMap">
<!--  <select id="selectByInspectId" resultMap="BaseResultMap">-->
  <select id="selectByInspectId" resultType="com.dy.pipIrrGlobal.pojoOp.OpeTrack">
    SELECT
      id,
      inspect_id AS inspectId,
@@ -118,4 +119,9 @@
      locate_time AS locateTime
    FROM ope_track WHERE inspect_id = #{inspectId}
  </select>
  <!--获取指定巡检ID下的全部轨迹点-->
  <select id="getTrackPointsById" resultType="com.dy.pipIrrGlobal.voOp.VoTrackPoint">
    SELECT lng, lat FROM ope_track WHERE inspect_id = #{inspectId}
  </select>
</mapper>