From 1a04230a60c65e2a7e8d1b392bc6408b2e77aa61 Mon Sep 17 00:00:00 2001
From: 你好啊 <1536384743@qq.com>
Date: 星期六, 22 二月 2025 13:53:17 +0800
Subject: [PATCH] 配置文件修改

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 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 8add618..8b23cc8 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -166,6 +166,7 @@
                c.quantity,
                e.reportWorkQuantity,
                e.reportWorkQuantityCount,
+               e.reportWorkTime,
                e.broken_num,
                ifnull(f.inventory, 0)                         as inventory,
                round(ifnull(f.inventory, 0) * a.area, 2)      as inventoryArea,
@@ -196,7 +197,11 @@
                                    concat('{',
                                           GROUP_CONCAT(concat("\"", process, "\":\"", reporting_work_num_count, "\"")),
                                           '}'
-                                       )             as reportWorkQuantityCount
+                                       )             as reportWorkQuantityCount,
+                                   concat('{',
+                                          GROUP_CONCAT(concat("\"", process, "\":\"", IFNULL(date(update_time),''), "\"")),
+                                          '}'
+                                       )             as reportWorkTime
                             FROM sd.order_process_detail as a
                             where a.order_id = #{orderId}
                             GROUP BY process_id, a.order_number, a.technology_number) as e
@@ -612,6 +617,9 @@
         <if test="damageReportDTO.glassChild != null and damageReportDTO.glassChild != ''">
             and ogd.glass_child regexp #{damageReportDTO.glassChild}
         </if>
+        <if test="damageReportDTO.glassNumber != null and damageReportDTO.glassNumber != ''">
+            and ifnull(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')),'') regexp #{damageReportDTO.glassNumber}
+        </if>
         GROUP BY
         dd.id
         limit #{offset},#{pageSize};

--
Gitblit v1.8.0