From b3b566ebdfed4005aaa513da3d5d2fd3924903cc Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 31 Jan 2024 16:17:54 +0800
Subject: [PATCH] 拿不到地址总表数据,不设置网格信息

---
 src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml |   11 +++++------
 1 files changed, 5 insertions(+), 6 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 88746ce..063ef9a 100644
--- a/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
+++ b/src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml
@@ -7,8 +7,6 @@
         <result column="id" property="id"/>
         <result column="task_id" property="taskId"/>
         <result column="place_id" property="placeId"/>
-        <result column="house_id" property="houseId"/>
-        <result column="district_id" property="districtId"/>
         <result column="happen_time" property="happenTime"/>
         <result column="user_id" property="userId"/>
         <result column="image_urls" property="imageUrls"/>
@@ -21,8 +19,6 @@
         <result column="confirm_notion" property="confirmNotion"/>
         <result column="owner" property="owner"/>
         <result column="phone_number" property="phoneNumber"/>
-        <result column="house_name" property="houseName"/>
-        <result column="task_name" property="taskName"/>
         <result column="transaction_object_tel" property="transactionObjectTel"/>
         <result column="transaction_money" property="transactionMoney"/>
         <result column="goods_nums" property="goodsNums"/>
@@ -35,8 +31,11 @@
 
     <select id="selectTaskLabelReportingEventPage" resultMap="taskLabelReportingEventResultMap">
         select * from jczz_task_label_reporting_event where is_deleted = 0
-        <if test="vo.userId != null and vo.userId != ''">
-            AND user_id = #{vo.checkUserId}
+        <if test="taskLabelReportingEvent.userId != null and taskLabelReportingEvent.userId != ''">
+            AND user_id = #{taskLabelReportingEvent.userId}
+        </if>
+        <if test="taskLabelReportingEvent.eventType != null and taskLabelReportingEvent.eventType != ''">
+            AND event_type = #{taskLabelReportingEvent.eventType}
         </if>
     </select>
 

--
Gitblit v1.9.3