From 263c8ee4f6f8cbb1228a1d5c13258ea8d4309350 Mon Sep 17 00:00:00 2001 From: Administrator <test@dy.com> Date: 星期四, 22 五月 2025 09:24:43 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml index 27effe0..b00a373 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml @@ -162,7 +162,7 @@ where p.deleted!=1 <trim prefix="and " suffixOverrides="and"> <if test="type != null and type != ''"> - p.type = #{type,jdbcType=VARCHAR} and + p.type like concat('%', #{type}, '%') and </if> </trim> order by id desc @@ -179,7 +179,7 @@ where p.deleted!=1 <trim prefix="and " suffixOverrides="and"> <if test="type != null and type != ''"> - p.type = #{type,jdbcType=VARCHAR} and + p.type like concat('%', #{type}, '%') and </if> </trim> </select> -- Gitblit v1.8.0