zhanghua
2022-10-17 97fbba68b72955c3735645c0c4e0320eed6461b3
ycl-platform/src/main/resources/mapper/caseHandler/ViolationsMapper.xml
@@ -35,8 +35,8 @@
        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 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'
        WHERE
            uv.`id` =  #{id}
    </select>