From ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Mon, 08 Jan 2024 11:30:18 +0800
Subject: [PATCH] 公安安全监管
---
src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml b/src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
index fba15af..b9040d7 100644
--- a/src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
+++ b/src/main/java/org/springblade/modules/task/mapper/TaskMapper.xml
@@ -85,6 +85,14 @@
and jc.street_code = #{task.streetCode}
</if>
+ <if test="task.realName != null and task.realName != null">
+ and bu.name = like concat('%', #{task.realName}, '%')
+ </if>
+
+ <if test="task.phone != null and task.phone != null">
+ and bu.phone = like concat('%', #{task.phone}, '%')
+ </if>
+
<if test="task.frequency != null and task.frequency != ''">
and jt.frequency = #{task.frequency}
</if>
--
Gitblit v1.9.3