From a5c145b5b9afb665d3130bbcf8659ee1a4b15ebf Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期五, 16 五月 2025 13:57:09 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsPlanManagementMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlanManagementMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlanManagementMapper.xml
index 94faf29..4a6ff13 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlanManagementMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsPlanManagementMapper.xml
@@ -23,7 +23,7 @@
     <select id="selectApsPlanManagementList" parameterType="com.aps.core.domain.ApsPlanManagement" resultMap="ApsPlanManagementResult">
         <include refid="selectApsPlanManagementVo"/>
         <where>  
-            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
+            <if test="name != null  and name != ''"> and name like concat('%', cast(#{name} as varchar), '%')</if>
             <if test="type != null  and type != ''"> and type = #{type}</if>
             <if test="area != null  and area != ''"> and area = #{area}</if>
             <if test="rule != null  and rule != ''"> and rule = #{rule}</if>

--
Gitblit v1.9.3