From 159a74e35b588f95fd3e9efc4e15733f84cbd829 Mon Sep 17 00:00:00 2001 From: L <L@132> Date: 星期日, 21 九月 2025 21:04:18 +0800 Subject: [PATCH] * --- src/main/resources/mapper/BasArmMastMapper.xml | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/BasArmMastMapper.xml b/src/main/resources/mapper/BasArmMastMapper.xml index f5a0524..79ea6d3 100644 --- a/src/main/resources/mapper/BasArmMastMapper.xml +++ b/src/main/resources/mapper/BasArmMastMapper.xml @@ -25,6 +25,15 @@ </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> + <update id="updateArmMastStatus"> update asr_bas_arm_mast set status = #{endStatus} @@ -34,4 +43,22 @@ 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 = #{sku} + </select> + + <select id="selectOrderDetlValue" resultMap="BaseResultMapOrderDetlValue"> + select + d.man_length,d.width,d.height,d.weight,d.anfme + from man_order_detl d + where 1=1 + and d.order_no = #{orderNo} + and d.matnr = #{sku} + </select> + </mapper> -- Gitblit v1.9.1