From 055743022694b6fc1bb1864137e0c81b6ea658c5 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期四, 29 一月 2026 19:45:26 +0800
Subject: [PATCH] 盘点出库增加一个标记 可筛选可清除
---
src/main/resources/mapper/asrs/LocDetlMapper.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/asrs/LocDetlMapper.xml b/src/main/resources/mapper/asrs/LocDetlMapper.xml
index 94c24a6..a93a652 100644
--- a/src/main/resources/mapper/asrs/LocDetlMapper.xml
+++ b/src/main/resources/mapper/asrs/LocDetlMapper.xml
@@ -51,6 +51,7 @@
<result column="box_type2" property="boxType2" />
<result column="box_type3" property="boxType3" />
<result column="cstateid" property="cstateid" />
+ <result column="mk" property="mk" />
</resultMap>
<sql id="batchSeq">
@@ -365,6 +366,14 @@
<if test="standby1!=null and standby1!='' ">
and a.standby1 like '%' + #{standby1} + '%'
</if>
+ <if test="mk!=null and mk!='' ">
+ <if test='mk=="Y"'>
+ and b.mk='Y'
+ </if>
+ <if test='mk=="N"'>
+ and (b.mk!='Y' or b.mk is null)
+ </if>
+ </if>
</sql>
<select id="getStockOutPage" resultMap="BaseResultMap">
@@ -372,7 +381,7 @@
(
select
ROW_NUMBER() over (order by a.appe_time,a.matnr,a.loc_no) as row,
- a.*
+ a.*, b.mk
from asr_loc_detl a
left join asr_loc_mast b on a.loc_no = b.loc_no
where 1=1
--
Gitblit v1.9.1