From 03ddf5e06042b61b776d5297fd6b769a4dbe671b Mon Sep 17 00:00:00 2001 From: wangguangyuan Date: Fri, 23 Jan 2026 09:57:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=B8=8A=E4=BC=A0=E7=9A=84=E5=B7=A1?= =?UTF-8?q?=E8=A7=86=E7=BB=93=E6=9E=9C=E7=82=B9=E4=BD=8Did=E5=B7=B2?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=A4=84=E7=90=86=E6=88=90=E6=99=BA=E5=B7=A1?= =?UTF-8?q?=E7=82=B9=E4=BD=8Did=EF=BC=8C=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E8=BF=99=E6=A0=B7=E7=9A=84=E5=86=99=E6=B3=95=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/task/PatrolResultMapper.xml | 3 +-- .../src/main/resources/mapper/task/ResultAnalysisMapper.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 7f9b2be..18851b1 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 @@ -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 * 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