From d11ef02813f9e1676d4f08df302f52d5d7fea733 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 21 三月 2023 10:08:15 +0800
Subject: [PATCH] bug修改

---
 ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
index 12be977..e719964 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -338,13 +338,14 @@
         WHEN t1.state = 8 THEN '鏍告煡'
         WHEN t1.state = 9 THEN '缁撴'
         END) `status` ,
-        dd.`name` as grade
+        pdd.`name` as grade
         FROM
         ums_base_case t1
         LEFT JOIN ums_violations t2 ON t1.id = t2.id
         LEFT JOIN ums_video_point t3 ON t3.id = t2.video_point_id
         LEFT JOIN ums_video_alarm_report t4 ON t4.id = t2.video_alarm_report_id
         LEFT JOIN ums_data_dictionary dd on t2.grade_id = dd.id
+        LEFT JOIN ums_data_dictionary pdd on pdd.id = dd.parent_id
         <where>
             t1.category=1
             <if test="beginTime !=''and beginTime!=null and endTime!=''and endTime!=null">

--
Gitblit v1.8.0