From a04d735ab3f2e9c52ebf52c35dfa1506d86d416d Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 24 七月 2025 17:01:57 +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