From 28ade00fd79eb601de0bc7404cc85d7eb51ffe27 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 05 三月 2025 16:22:52 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml b/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
index 3fbe9ba..7c21908 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
@@ -310,7 +310,7 @@
                            on rw.order_id = ogd.order_id and dd.order_number = ogd.order_number
 
         <where>  dd.breakage_quantity-dd.quantity>0 and dd.available=0 and (dd.responsible_process=rw.this_process or (dd.quality_ins_status!=1)) and rw.reviewed_state!=-1
-                and o.create_order>0
+                and o.create_order>0 and dd.patch_status=0
             <if test="patchLogAddDTO.orderId != null and patchLogAddDTO.orderId != ''">
                 and o.order_id regexp #{patchLogAddDTO.orderId}
             </if>

--
Gitblit v1.8.0