From 3d04b112c510fd14617ab79dad1ecd51143eca2a Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 06 十一月 2024 16:17:51 +0800
Subject: [PATCH] 订单明细打印物料二维码

---
 src/main/resources/mapper/OrderDetlMapper.xml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml
index 74ebaf0..8c1dc4c 100644
--- a/src/main/resources/mapper/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/OrderDetlMapper.xml
@@ -124,6 +124,22 @@
         and mdt.pakout = 1
         <include refid="pakOutPageCondition"></include>
     </select>
+    <select id="selectPrintData" resultType="com.zy.asrs.entity.param.PrintDataDto">
+        select
+            top 1 md.matnr ,
+                md.maktx ,
+            md.batch ,
+            md.specs ,
+            md.unit ,
+            md.anfme ,
+            mo.cstmr_name as cstmrName
+        from
+            man_order_detl md
+                inner join man_order mo on
+                md.order_id = mo.id
+        where
+            md.id = #{id}
+    </select>
 
     <update id="increase">
         update man_order_detl

--
Gitblit v1.9.1