From c10d6358b9f014375a13821465bc978d0c0da22e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 29 May 2024 17:17:08 +0800
Subject: [PATCH] 通过E呼即办数据统计

---
 src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml b/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
index 57dd84f..6c8dedb 100644
--- a/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
+++ b/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
@@ -58,6 +58,11 @@
         <if test="taskLabelReportingEvent.userId != null and taskLabelReportingEvent.userId != ''">
             AND jtlre.user_id = #{taskLabelReportingEvent.userId}
         </if>
+
+        <if test="taskLabelReportingEvent.houseCode != null  and taskLabelReportingEvent.houseCode != ''">
+            and jp.house_code = #{taskLabelReportingEvent.houseCode}
+        </if>
+
         <if test="taskLabelReportingEvent.eventType != null and taskLabelReportingEvent.eventType != ''">
             AND jtlre.event_type = #{taskLabelReportingEvent.eventType}
         </if>
@@ -119,7 +124,7 @@
                 <when test="regionChildCodesList !=null and regionChildCodesList.size()>0">
                     and
                     (
-                    jg.grid_code in
+                    jg.community_code in
                     <foreach collection="regionChildCodesList" item="code" open="(" close=")" separator=",">
                         #{code}
                     </foreach>

--
Gitblit v1.9.3