From 3dc714284a95fe9677a964ec039b2b547547e30d Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 05 十一月 2024 11:20:37 +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