From 62af65df5cb991a29fcca1be433c1fdddff03b78 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 18 二月 2025 14:33:13 +0800
Subject: [PATCH] 流程卡合架功能完善

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

diff --git a/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml b/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
index e95fd1f..0317798 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
@@ -47,7 +47,7 @@
         from sd.order_detail  as od
         left join `order` as o
         on o.order_id=od.order_id
-        where o.production_order!=2 and o.order_review=2
+        where o.production_order!=2 and o.order_review=2 and o.create_order>0
 
         <if test="orderGlassDetail.orderId != null and orderGlassDetail.orderId != ''">
             and o.order_id regexp #{orderGlassDetail.orderId}

--
Gitblit v1.8.0