From 24673e6132418a4250f111e1ef38e4dbe15e4f7b Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 25 十二月 2025 11:46:54 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 241fd4d..aada17d 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -354,6 +354,12 @@
         <if test="standby2!=null and standby2!='' ">
             and a.standby2 like '%' + #{standby2} + '%'
         </if>
+        <if test="standby3!=null and standby3!='' ">
+            and a.standby3 like '%' + #{standby3} + '%'
+        </if>
+        <if test="boxType3!=null and boxType3!='' ">
+            and a.boxType3 like '%' + #{boxType3} + '%'
+        </if>
     </sql>
 
     <select id="getStockOutPage" resultMap="BaseResultMap">
@@ -414,9 +420,15 @@
         ROW_NUMBER() over (order by sum(a.anfme) desc) as row
         , a.matnr
         , sum(a.anfme) as anfme
+        , a.order_no as orderNo
+        , a.standby1
+        , a.standby2
+        , a.standby3
+        , a.box_type1 as boxType1
+        , a.box_type3 as boxType3
         from asr_loc_detl a
         where 1=1
-        group by a.matnr
+        group by a.matnr,a.order_no,a.box_type3,a.standby1,a.standby2,a.standby3,a.box_type1
     </select>
 
     <select id="selectPakoutByRule" resultMap="BaseResultMap">

--
Gitblit v1.9.1