From 63f7df1f8f4f693d7380584a1272d4021d5cc1c2 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期日, 27 四月 2025 15:35:08 +0800
Subject: [PATCH] 【UPDATE-气柜管路产能统计】计算产能负载时保留小数点2位

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

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml
index aa4aad6..a6592c4 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml
@@ -29,7 +29,7 @@
     <select id="selectApsWorkEventList" parameterType="ApsWorkEvent" resultMap="ApsWorkEventResult">
         <include refid="selectApsWorkEventVo"/>
         <where>  
-            <if test="description != null  and description != ''"> and description like concat('%', #{description}, '%')</if>
+            <if test="description != null  and description != ''"> and description like '%' || #{description} || '%'</if>
             <if test="duration != null  and duration != ''"> and duration = #{duration}</if>
             <if test="startDate != null "> and start_date = #{startDate}</if>
             <if test="endDate != null "> and end_date = #{endDate}</if>

--
Gitblit v1.9.3