From 385b687cc1a0a8f6de2320af6b6e0d654cd658ed Mon Sep 17 00:00:00 2001
From: liuhaonan <31457034@qq.com>
Date: 星期五, 18 十一月 2022 11:56:40 +0800
Subject: [PATCH] changes
---
dao/src/main/resources/mapper/LedPlayerEntityMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dao/src/main/resources/mapper/LedPlayerEntityMapper.xml b/dao/src/main/resources/mapper/LedPlayerEntityMapper.xml
index 6294706..4eeede7 100644
--- a/dao/src/main/resources/mapper/LedPlayerEntityMapper.xml
+++ b/dao/src/main/resources/mapper/LedPlayerEntityMapper.xml
@@ -99,9 +99,9 @@
AND t5.group_id=#{groupId}
</if>
<if test="keyword != null and keyword != ''">
- AND t1.name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
+ AND (t1.name LIKE CONCAT(CONCAT('%', #{keyword}), '%')
OR t1.sn LIKE CONCAT(CONCAT('%', #{keyword}), '%')
- OR t1.id LIKE CONCAT(CONCAT('%', #{keyword}), '%')
+ OR t1.id LIKE CONCAT(CONCAT('%', #{keyword}), '%'))
</if>
<if test="userId != null">
AND (t3.user_id = #{userId} OR t3.client_id = #{userId})
--
Gitblit v1.9.3