From 76746dcdb6f0572c4b3349056421369aa7a34b09 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 08 十二月 2025 11:12:27 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/pp/Report.xml b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
index 344adcb..898dad1 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -1840,7 +1840,7 @@
         </if>
         HAVING 1 = 1
         <if test="teamOutputDTO.thicknessSum != null and teamOutputDTO.thicknessSum != ''">
-            AND thicknessSum REGEXP #{teamOutputDTO.thicknessSum}
+            and thicknessSum regexp REGEXP_REPLACE(#{teamOutputDTO.thicknessSum},'\\.0+$','')
         </if>
         ORDER BY
         t.this_process,
@@ -2106,7 +2106,7 @@
         ) x
         WHERE 1 = 1
         <if test="teamOutputDTO.thicknessSum != null and teamOutputDTO.thicknessSum != ''">
-            AND x.thicknessSum REGEXP #{teamOutputDTO.thicknessSum}
+            and thicknessSum regexp REGEXP_REPLACE(#{teamOutputDTO.thicknessSum},'\\.0+$','')
         </if>
         <if test="teamOutputDTO.thicknessArea != null and teamOutputDTO.thicknessArea != ''">
             AND x.thicknessArea REGEXP #{teamOutputDTO.thicknessArea}
@@ -2875,7 +2875,7 @@
         ) x
         WHERE 1 = 1
         <if test="teamOutputDTO.thicknessSum != null and teamOutputDTO.thicknessSum != ''">
-            AND x.thicknessSum REGEXP #{teamOutputDTO.thicknessSum}
+            and thicknessSum regexp REGEXP_REPLACE(#{teamOutputDTO.thicknessSum},'\\.0+$','')
         </if>
         <if test="teamOutputDTO.thicknessArea != null and teamOutputDTO.thicknessArea != ''">
             AND x.thicknessArea REGEXP #{teamOutputDTO.thicknessArea}

--
Gitblit v1.8.0