From f0429051895816ebadc50bbc409021e23e4d1a3a Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期一, 08 十二月 2025 16:43:06 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/BasArmMastMapper.xml |   42 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 41 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/BasArmMastMapper.xml b/src/main/resources/mapper/BasArmMastMapper.xml
index 29622c6..9e19700 100644
--- a/src/main/resources/mapper/BasArmMastMapper.xml
+++ b/src/main/resources/mapper/BasArmMastMapper.xml
@@ -19,9 +19,19 @@
         <result column="supplier" property="supplier" />
         <result column="order_no" property="orderNo" />
         <result column="ctns" property="ctns" />
-        <result column="createTime" property="createTime" />
+        <result column="create_time" property="createTime" />
         <result column="arm_error" property="armError" />
         <result column="arm_msg" property="armMsg" />
+        <result column="barcode" property="barcode" />
+
+    </resultMap>
+
+    <resultMap id="BaseResultMapOrderDetlValue" type="com.zy.asrs.entity.result.OrderDetlValueResultUtil">
+        <result column="man_length" property="length" />
+        <result column="width" property="width" />
+        <result column="height" property="height" />
+        <result column="weight" property="weight" />
+        <result column="anfme" property="anfme" />
 
     </resultMap>
 
@@ -34,4 +44,34 @@
           and status = #{status}
     </update>
 
+    <select id="selectOrderDetlAndSku" parameterType="java.util.Map" resultType="java.lang.Double">
+        select
+        anfme
+        from man_order_detl
+        where 1=1
+          and order_no = #{orderNo}
+          and matnr = #{matnr}
+    </select>
+
+    <select id="selectOrderDetlValue" resultMap="BaseResultMapOrderDetlValue">
+        select top 1
+            d.man_length,d.width,d.height,d.weight,d.anfme
+        from man_order_detl_pakin d
+        where 1=1
+          and d.box_type3 = #{orderNo}
+          and d.matnr = #{matnr}
+    </select>
+
+
+
+    <select id="selectBasArmMastSignValue" resultType="java.lang.Double">
+        select top 1
+        d.anfme
+        from asr_bas_arm_mast_sign d
+        where 1=1
+        and d.order_no = #{orderNo}
+        and d.matnr = #{matnr}
+        and d.create_time = #{bindingTags}
+    </select>
+
 </mapper>

--
Gitblit v1.9.1