From 97147c3155ef75e344cfbfc9752d08228cbabc64 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期二, 25 三月 2025 08:26:38 +0800
Subject: [PATCH] 提交后端报工转移程序

---
 north-glass-erp/src/main/resources/mapper/pp/Report.xml |    6 +++++-
 1 files changed, 5 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 8c36f08..c41dc89 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/Report.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/Report.xml
@@ -121,6 +121,8 @@
         <result column="area" property="area"/>
         <result column="product_name" property="productName"/>
         <result column="code" property="code"/>
+        <result column="reviewed" property="reviewed"/>
+        <result column="examine_time" property="examineTime"/>
     </resultMap>
 
     <resultMap id="scheduleProductionScheduleMap" type="com.example.erp.dto.pp.ScheduleProductionScheduleDTO">
@@ -1326,7 +1328,9 @@
         rwd.completed_quantity as completed_quantity,
         ROUND(MAX( ogd.child_width )*MAX( ogd.child_height )*rwd.completed_quantity/1000000,2) as area,
         od.product_name,
-        JSON_UNQUOTE( JSON_EXTRACT( od.other_columns, '$.S01' )) AS code
+        JSON_UNQUOTE( JSON_EXTRACT( od.other_columns, '$.S01' )) AS code,
+        rw.reviewed,
+        rw.examine_time
         FROM
         reporting_work as rw left join reporting_work_detail as rwd on rwd.reporting_work_id=rw.reporting_work_id
         left join flow_card as fc on fc.order_id=rw.order_id and fc.process_id=rw.process_id  and fc.order_number=rwd.order_number and fc.technology_number=rwd.technology_number

--
Gitblit v1.8.0