From cd8f015ef7ccda50f884c8a793032c04ddd14e23 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 08 四月 2025 10:46:39 +0800
Subject: [PATCH] erp优化部分修改
---
north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml | 4 ++--
1 files changed, 2 insertions(+), 2 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 5cdb2ee..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}
@@ -142,7 +142,7 @@
from sd.order_detail as od
left join sd.order as o
on od.order_id =o.order_id
- where od.order_id = #{orderId} and o.production_order!=2
+ where FIND_IN_SET(od.order_id,#{orderId}) and o.production_order!=2
<if test="orderDetail.orderId != null and orderDetail.orderId != ''">
and od.order_id regexp #{orderDetail.orderId}
</if>
--
Gitblit v1.8.0