From 6681556b7f379908213fbe400d43dd108c330cd2 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期四, 16 一月 2025 16:26:45 +0800 Subject: [PATCH] product type --- 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