From 8af4cdbdb52932dca5d16fbce42a2f6fad4e3b8b Mon Sep 17 00:00:00 2001
From: Administrator <1051256694@qq.com>
Date: 星期六, 28 三月 2026 14:59:29 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 0072278..05b0f54 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -51,6 +51,8 @@
         <result column="box_type1" property="boxType1" />
         <result column="box_type2" property="boxType2" />
         <result column="box_type3" property="boxType3" />
+        <result column="area_id" property="areaId" />
+
     </resultMap>
 
     <sql id="batchSeq">
@@ -354,6 +356,7 @@
             left join asr_loc_mast b on a.loc_no = b.loc_no
             where 1=1
             and b.loc_sts = 'F'
+            and (b.whs_type is null or b.whs_type != 2)
             <include refid="stockOutCondition"></include>
         ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
     </select>
@@ -365,6 +368,7 @@
         left join asr_loc_mast b on a.loc_no = b.loc_no
         where 1=1
         and b.loc_sts = 'F'
+        and (b.whs_type is null or b.whs_type != 2)
         <include refid="stockOutCondition"></include>
     </select>
 

--
Gitblit v1.9.1