From d111849e6e78ed02a63661e31c81dadd65f53104 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 01 十二月 2025 13:28:45 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
---
north-glass-erp/src/main/resources/mapper/pp/Report.xml | 38 ++++++++++++++++++++++++++++++++++++--
1 files changed, 36 insertions(+), 2 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 ac3f054..57bd80a 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -845,6 +845,12 @@
<if test="damageReportDTO.reportingWorkId != null and damageReportDTO.reportingWorkId != ''">
and rw.reporting_work_id like concat('%', #{damageReportDTO.reportingWorkId}, '%')
</if>
+ <if test="damageReportDTO.childWidth != null and damageReportDTO.childWidth != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{damageReportDTO.childWidth},'\\.0+$','')
+ </if>
+ <if test="damageReportDTO.childHeight != null and damageReportDTO.childHeight != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{damageReportDTO.childHeight},'\\.0+$','')
+ </if>
GROUP BY
dd.id
limit #{offset},#{pageSize};
@@ -910,6 +916,12 @@
</if>
<if test="damageReportDTO.reportingWorkId != null and damageReportDTO.reportingWorkId != ''">
and rw.reporting_work_id like concat('%', #{damageReportDTO.reportingWorkId}, '%')
+ </if>
+ <if test="damageReportDTO.childWidth != null and damageReportDTO.childWidth != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{damageReportDTO.childWidth},'\\.0+$','')
+ </if>
+ <if test="damageReportDTO.childHeight != null and damageReportDTO.childHeight != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{damageReportDTO.childHeight},'\\.0+$','')
</if>
limit #{offset},#{pageSize};
</select>
@@ -1792,7 +1804,12 @@
<if test="teamOutputDTO.batch != null and teamOutputDTO.batch != ''">
AND o.batch REGEXP #{teamOutputDTO.batch}
</if>
-
+ <if test="teamOutputDTO.width != null and teamOutputDTO.width != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{teamOutputDTO.width},'\\.0+$','')
+ </if>
+ <if test="teamOutputDTO.height != null and teamOutputDTO.height != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{teamOutputDTO.height},'\\.0+$','')
+ </if>
<choose>
<when test="laminating == ''">
GROUP BY
@@ -2009,7 +2026,12 @@
<if test="teamOutputDTO.batch != null and teamOutputDTO.batch != ''">
AND o.batch REGEXP #{teamOutputDTO.batch}
</if>
-
+ <if test="teamOutputDTO.width != null and teamOutputDTO.width != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{teamOutputDTO.width},'\\.0+$','')
+ </if>
+ <if test="teamOutputDTO.height != null and teamOutputDTO.height != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{teamOutputDTO.height},'\\.0+$','')
+ </if>
<choose>
<when test="laminating == ''">
GROUP BY
@@ -2646,6 +2668,12 @@
<if test="damageReportDTO.reportingWorkId != null and damageReportDTO.reportingWorkId != ''">
and rw.reporting_work_id like concat('%', #{damageReportDTO.reportingWorkId}, '%')
</if>
+ <if test="damageReportDTO.childWidth != null and damageReportDTO.childWidth != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{damageReportDTO.childWidth},'\\.0+$','')
+ </if>
+ <if test="damageReportDTO.childHeight != null and damageReportDTO.childHeight != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{damageReportDTO.childHeight},'\\.0+$','')
+ </if>
</select>
<select id="teamOutputFootSum">
@@ -2764,6 +2792,12 @@
<if test="teamOutputDTO.batch != null and teamOutputDTO.batch != ''">
AND o.batch REGEXP #{teamOutputDTO.batch}
</if>
+ <if test="teamOutputDTO.width != null and teamOutputDTO.width != ''">
+ and ogd.child_width regexp REGEXP_REPLACE(#{teamOutputDTO.width},'\\.0+$','')
+ </if>
+ <if test="teamOutputDTO.height != null and teamOutputDTO.height != ''">
+ and ogd.child_height regexp REGEXP_REPLACE(#{teamOutputDTO.height},'\\.0+$','')
+ </if>
<choose>
<when test="laminating == ''">
GROUP BY
--
Gitblit v1.8.0