From b91945ea32378a71d1e57356af6e16703a1ceaa7 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 01 十一月 2024 14:52:16 +0800 Subject: [PATCH] 工单只下发考核的、阈值bug --- ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml index 962b43a..f2a3daf 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/PlatformMapper.xml @@ -52,6 +52,9 @@ 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