From 846b013f52a0ff5f6103b628873e8d7fbd10aa13 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期二, 15 十一月 2022 15:26:09 +0800
Subject: [PATCH] 首次报警点位数据查询
---
ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml
index d4bc27c..ca15c09 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml
@@ -34,9 +34,9 @@
udd3.name grade_text
FROM
ums_violations uv
- LEFT JOIN ums_data_dictionary udd on uv.category_id = udd.id and udd.type_code = '01'
- LEFT JOIN ums_data_dictionary udd2 on uv.type_id = udd2.id and udd.type_code = '01'
- LEFT JOIN ums_data_dictionary udd3 on uv.grade_id = udd3.id and udd.type_code = '01'
+ LEFT JOIN ums_data_dictionary udd on uv.category_id = udd.id
+ LEFT JOIN ums_data_dictionary udd2 on uv.type_id = udd2.id
+ LEFT JOIN ums_data_dictionary udd3 on uv.grade_id = udd3.id
WHERE
uv.`id` = #{id}
</select>
--
Gitblit v1.8.0