From bf81b6e3600a49cb8621cd798db9aa521956bc6e Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期一, 10 三月 2025 15:28:09 +0800
Subject: [PATCH] #接口开发

---
 src/main/resources/mapper/LocDetlMapper.xml |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 4b0009d..1faecb9 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -66,6 +66,12 @@
         <include refid="batchSeq"></include>
     </select>
 
+    <select id="selectItemByLocNo" resultMap="BaseResultMap">
+        select *
+        from asr_loc_detl
+        where loc_no = #{locNo}
+    </select>
+
     <delete id="deleteItem">
         delete from asr_loc_detl
         where 1=1
@@ -123,6 +129,7 @@
             and b.loc_sts = 'F'
             <include refid="stockOutCondition"></include>
         ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
+            order by appe_time
     </select>
 
     <select id="getStockOutPageCount" parameterType="java.util.Map" resultType="java.lang.Integer">
@@ -336,8 +343,8 @@
         INNER JOIN man_mat b ON a.matnr=#{matnrOld} AND b.matnr=#{matnr};
     </update>
 
-    <select id="selectSameDetlTodayBatch" resultType="java.lang.String">
-        SELECT ld.loc_no FROM asr_loc_detl ld
+    <select id="selectSameDetlTodayBatch" resultMap="BaseResultMap">
+        SELECT * FROM asr_loc_detl ld
         LEFT JOIN asr_loc_mast lm ON ld.loc_no = lm.loc_no
         WHERE 1 = 1
         AND ld.matnr = #{matnr}

--
Gitblit v1.9.1