From c1fc00d00df3fc637cb38da33ad1ca3f233b6aee Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 25 七月 2025 14:46:18 +0800
Subject: [PATCH] 次破报表求和查询添加审核状态条件

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/ReworkMapper.xml b/north-glass-erp/src/main/resources/mapper/pp/ReworkMapper.xml
index 93ef507..97a9760 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/ReworkMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/ReworkMapper.xml
@@ -296,6 +296,7 @@
     <update id="updateReworkDdMp">
         update pp.damage_details set patch_status=0,quantity=quantity-#{reworkNum}
         where reporting_work_id=#{reportingWorkId} and order_number=#{orderSort} and technology_number=#{technologyNumber}
+              and breakage_type=#{reworkType} and breakage_reason=#{reworkReason}
     </update>
 
     <update id="updateReworkBgMp">

--
Gitblit v1.8.0