From b7df6735bcb2d447cae7fcfba2d12accf3dd2fcc Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Sat, 03 Feb 2024 17:27:21 +0800
Subject: [PATCH] 消防检查优化
---
src/main/java/org/springblade/modules/task/mapper/TaskLabelReportingEventMapper.xml | 7 +++----
1 files changed, 3 insertions(+), 4 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 992a1d9..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"/>
@@ -38,6 +34,9 @@
<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