diff --git a/inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml b/inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml index c9d41b1..5164efb 100644 --- a/inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml +++ b/inspect-main/inspect-main-task/src/main/resources/mapper/task/PatrolResultMapper.xml @@ -357,7 +357,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 a.patrol_point_id = #{lineId} OR a.patrol_point_code LIKE concat('%',#{lineId}) + where a.patrol_point_code LIKE concat('%',#{lineId}) select * from basedata_patrolpoint - where patrol_point_id = #{deviceId} OR patrol_point_code LIKE concat('%',#{lineId}) + where patrol_point_code LIKE concat('%',#{lineId})