From 338b5b8b620208c596a6d1a9a2a57d4be88f96ab Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期一, 08 十二月 2025 14:38:04 +0800
Subject: [PATCH] 初始化

---
 src/main/resources/mapper/LocDetlMapper.xml |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 4fb3cbf..e0b34c2 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -27,7 +27,7 @@
         <result column="item_num" property="itemNum" />
         <result column="safe_qty" property="safeQty" />
         <result column="weight" property="weight" />
-        <result column="length" property="length" />
+        <result column="man_length" property="manLength" />
         <result column="volume" property="volume" />
         <result column="three_code" property="threeCode" />
         <result column="supp" property="supp" />
@@ -44,6 +44,13 @@
         <result column="appe_user" property="appeUser" />
         <result column="appe_time" property="appeTime" />
         <result column="memo" property="memo" />
+        <result column="frozen" property="frozen" />
+        <result column="standby1" property="standby1" />
+        <result column="standby2" property="standby2" />
+        <result column="standby3" property="standby3" />
+        <result column="box_type1" property="boxType1" />
+        <result column="box_type2" property="boxType2" />
+        <result column="box_type3" property="boxType3" />
     </resultMap>
 
     <sql id="stockOutCondition">
@@ -90,4 +97,15 @@
         and b.loc_sts = 'F'
         <include refid="stockOutCondition"></include>
     </select>
+
+    <select id="selectMatnrSpecs" resultMap="BaseResultMap">
+        select
+        top 1 *
+        from asr_loc_detl a
+        left join asr_loc_mast b on a.loc_no = b.loc_no
+        where 1=1
+        and b.loc_no = #{locNo}
+        and a.matnr = #{matnr}
+        and a.specs = #{specs}
+    </select>
 </mapper>

--
Gitblit v1.9.1