From 8e2bbb3ac8d259d0edbecf0d75db5d606bc80d0e Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期一, 19 五月 2025 15:58:12 +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