From 33a5fcfa483875836230eae3d4d62a9397e5f649 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Sat, 18 Oct 2025 10:50:02 +0800
Subject: [PATCH] 2025-10-18 zwy 更新PaginationData获取已绑定的设备信息接口,增加对部门deptId的查询条件,参数可不传,返回所有数据

---
 ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml b/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
index 0e1c927..385990f 100644
--- a/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
+++ b/ard-work/src/main/resources/mapper/ArdServerInfoMapper.xml
@@ -43,7 +43,7 @@
         <include refid="selectArdServerInfoVo"/>
         <where>
             <if test="id != null and id != ''"> and c.id = #{id}</if>
-            <if test="serverName != null and serverName != ''"> and c.server_name like c.concat('%', #{serverName}, '%')</if>
+            <if test="serverName != null and serverName != ''"> and c.server_name like concat('%', #{serverName}, '%')</if>
             <if test="accessKeyId != null and accessKeyId != ''"> and c.access_key_id = #{accessKeyId}</if>
             <if test="accessKeySecret != null and accessKeySecret != ''"> and c.access_key_secret = #{accessKeySecret}</if>
             <if test="serverStatus != null and serverStatus != ''"> and c.server_status = #{serverStatus}</if>

--
Gitblit v1.9.3