From 899e021604c2dc1660fe9b240f041f7bef56563b Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 28 十月 2022 15:08:08 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_server --- 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 bc3d42d..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 udd2.type_code = '01' - LEFT JOIN ums_data_dictionary udd3 on uv.grade_id = udd3.id and udd3.type_code = '02' + 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