From 7a00187d197548e23a38dcb87187ef6b2b7f8bfb Mon Sep 17 00:00:00 2001
From: liuhaonan <31457034@qq.com>
Date: 星期一, 24 十月 2022 11:19:58 +0800
Subject: [PATCH] changes

---
 dao/src/main/resources/mapper/AirDataNongGengMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dao/src/main/resources/mapper/AirDataNongGengMapper.xml b/dao/src/main/resources/mapper/AirDataNongGengMapper.xml
index 38a703c..0278500 100644
--- a/dao/src/main/resources/mapper/AirDataNongGengMapper.xml
+++ b/dao/src/main/resources/mapper/AirDataNongGengMapper.xml
@@ -55,8 +55,10 @@
         <where>
             1=1
             <if test="keyword != null and keyword != ''">
-                AND t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
+                AND (
+                t3.pole_name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
                 or t1.mac LIKE CONCAT(CONCAT('%', #{keyword}), '%')
+                )
             </if>
             <if test="type != null">
                 AND t4.type = #{type}

--
Gitblit v1.9.3