From dc6d7e175c002f4f516ce0d67381a4e91a6eac02 Mon Sep 17 00:00:00 2001 From: wangguangyuan Date: Mon, 9 Jun 2025 17:50:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=92=B1=E5=A1=98=E6=B1=9F=E7=AB=99?= =?UTF-8?q?=E5=B7=A1=E8=A7=86=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/task/PatrolResultMapper.xml | 2 +- .../src/main/resources/mapper/task/ResultAnalysisMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 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 291db1f..f6a5f54 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 @@ -508,7 +508,7 @@ 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}) + OR a.patrol_point_code LIKE concat('%', #{lineId}) limit 1 select * from basedata_patrolpoint - where CONVERT(patrol_point_id, CHAR) = #{deviceId} OR patrol_point_code LIKE concat('%',#{deviceId}) + where CONVERT(patrol_point_id, CHAR) = #{deviceId} OR patrol_point_code LIKE concat('%',#{deviceId}) limit 1