From fea22e82e7e49691f6e0c20a29b228d0ab3173e9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 29 十月 2025 17:08:38 +0800
Subject: [PATCH] 修改问题
---
ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml
index c7f08b3..f2a3daf 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml
@@ -10,6 +10,7 @@
<result column="area" property="area" />
<result column="create_time" property="createTime" />
<result column="update_time" property="updateTime" />
+ <result column="sub_platform_name" property="subPlatformName" />
</resultMap>
@@ -44,11 +45,16 @@
TP.remark,
TP.create_time,
TP.update_time,
- TP.id
+ TP.id,
+ TP.parent_id,
+ TP.sub_platform_name
FROM
t_platform TP
WHERE
TP.deleted = 0
+ <if test="query.keyword != null and query.keyword != ''">
+ AND (TP.platform_name like concat('%', #{query.keyword}, '%') or TP.platform_ip like concat('%', #{query.keyword}, '%'))
+ </if>
</select>
</mapper>
--
Gitblit v1.8.0