From 24f897e83340a4d4b87d681905a708a24e705ebb Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期六, 31 八月 2024 10:56:07 +0800
Subject: [PATCH] 按编号打印标签数量修改

---
 north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml |    4 +++-
 1 files changed, 3 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 ec4be7e..cb6e497 100644
--- a/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
+++ b/north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
@@ -8,6 +8,7 @@
         <result column="order_id" property="orderId"/>
         <result column="production_id" property="productionId"/>
         <result column="splitting_status" property="splittingStatus"/>
+        <result column="founder" property="founder"/>
         <result column="create_time" property="createTime"/>
         <!--鎺ユ敹鍏朵粬澶栭敭瀹炰綋绫绘暟鎹�-->
             <result column="batch" property="order.batch"/>
@@ -78,6 +79,7 @@
         o.order_id,
         od.order_number,
         ogd.production_id,
+        ogd.founder,
         o.batch,
         o.project,
         o.order_type,
@@ -93,7 +95,7 @@
         left join `order` as o
         on o.order_id=ogd.order_id
         where ogd.production_id IS NOT NULL
-
+        and o.order_review>0
         <if test="orderGlassDetail.orderId != null and orderGlassDetail.orderId != ''">
             and o.order_id regexp #{orderGlassDetail.orderId}
         </if>

--
Gitblit v1.8.0