From 78a59eda850857e1bfeb48541f0c64d442877a4d Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 08 四月 2025 11:17:10 +0800
Subject: [PATCH] #实现pda简单入库出库操作
---
src/main/resources/mapper/OrderDetlMapper.xml | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/OrderDetlMapper.xml b/src/main/resources/mapper/OrderDetlMapper.xml
index 6cab66f..4152d97 100644
--- a/src/main/resources/mapper/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/OrderDetlMapper.xml
@@ -74,6 +74,20 @@
</if>
</select>
+ <select id="selectItemNoneOfBatch" resultMap="BaseResultMap">
+ select top 1 * from man_order_detl
+ where 1=1
+ and order_no = #{orderNo}
+ and matnr = #{matnr}
+ </select>
+
+ <select id="selectItemOfBatch" resultMap="BaseResultMap">
+ select top 1 * from man_order_detl
+ where 1=1
+ and matnr = #{matnr}
+ and batch = #{batch}
+ </select>
+
<select id="selectWorkingDetls" resultMap="BaseResultMap">
select * from man_order_detl
where 1=1
@@ -190,4 +204,12 @@
and order_id = #{orderId}
</select>
+ <select id="selectByMatnr" resultMap="BaseResultMap">
+ select
+ *
+ from man_order_detl
+ where 1=1
+ and matnr = #{matnr}
+ </select>
+
</mapper>
--
Gitblit v1.9.1