From cec1ded044e662e9de019eaaacc1ea3c76bda556 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 21 五月 2025 11:40:48 +0800
Subject: [PATCH] 项目开发人员在开发过程中修改了pom.xml配置文件,破坏了系统架构设计,造成pom凌乱,导致不好管理依赖,当下重新规范了pom.xml配置文件内容,使重新符合系统架构设计规范。

---
 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