From 26a3093fef3919bc99ee385840ce2efdbe6f6522 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 12 十一月 2021 23:29:43 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/report/ReportCustomComponentRelV1ServiceDaoImplMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/report/ReportCustomComponentRelV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/report/ReportCustomComponentRelV1ServiceDaoImplMapper.xml
index 30d6362..79e43c9 100644
--- a/java110-db/src/main/resources/mapper/report/ReportCustomComponentRelV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/report/ReportCustomComponentRelV1ServiceDaoImplMapper.xml
@@ -28,7 +28,7 @@
             and t.rel_id= #{relId}
         </if>
         <if test="componentType !=null and componentType != ''">
-            and t.component_type= #{componentType}
+            and cc.component_type= #{componentType}
         </if>
         <if test="componentId !=null and componentId != ''">
             and t.component_id= #{componentId}
@@ -81,7 +81,7 @@
             and t.rel_id= #{relId}
         </if>
         <if test="componentType !=null and componentType != ''">
-            and t.component_type= #{componentType}
+            and cc.component_type= #{componentType}
         </if>
         <if test="componentId !=null and componentId != ''">
             and t.component_id= #{componentId}

--
Gitblit v1.8.0