From de08d4876092d361009aa467ef4d2a77068fbcaa Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期五, 26 十二月 2025 14:08:31 +0800
Subject: [PATCH] 一键入库相同订单序号,不同流程卡被过滤。无法入库问题
---
north-glass-erp/src/main/resources/mapper/pp/DamageDetails.xml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/resources/mapper/pp/DamageDetails.xml b/north-glass-erp/src/main/resources/mapper/pp/DamageDetails.xml
index b8b646a..ac4583a 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/DamageDetails.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/DamageDetails.xml
@@ -17,6 +17,7 @@
<if test="needOrderNumber!=null">
and a.order_number = #{orderNumber}
</if>
+ and a.available=0
and a.technology_number =#{technologyNumber}
and a.breakage_quantity>0
and b.reviewed_state>=0
@@ -44,6 +45,7 @@
<if test="orderNumber!= null || orderNumber!=''">
and a.order_number = #{orderNumber}
</if>
+ and a.available=0
and a.technology_number = #{technologyNumber}
and a.breakage_quantity>0
and ifnull(c.review_status,0) = 0
--
Gitblit v1.8.0