From 184e9d1d4ce1c33a47e5cc66478b10539a2cc4e7 Mon Sep 17 00:00:00 2001
From: zhanghl <253316343@qq.com>
Date: 星期二, 20 五月 2025 15:32:08 +0800
Subject: [PATCH] 完善钣金计划大表
---
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