From d63ce13fd7257f996de70a5a5adc4718eb86bb6a Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期四, 28 十一月 2024 15:56:55 +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 5cdb2ee..e95fd1f 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
@@ -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