From 03df078310b88f2b4472c07ed9a09278b425ee00 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期二, 16 七月 2024 17:28:34 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
index 68ca981..9de2e70 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -105,6 +105,7 @@
         select ogd.process
         from sd.order_glass_detail as ogd
         where ogd.production_id = LEFT(#{processIdStr}, 11)
+          and ogd.technology_number=#{technologyStr}
         limit 1
 
     </select>
@@ -704,7 +705,7 @@
         update reporting_work as rw left join damage_details as dd on rw.reporting_work_id = dd.reporting_work_id
         set dd.quality_ins_status = 2,
             rw.quality_inspector=#{username},
-            rw.examine_time=NOW()
+            rw.quality_ins_time=NOW()
         where rw.reporting_work_id = #{reportingWorkId}
     </update>
 

--
Gitblit v1.8.0