From 00a44859a673b388e1dca5f54c4ecaffc5fee30e Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期四, 19 三月 2026 10:21:08 +0800
Subject: [PATCH] lsh#0:新增、更新、解禁(只要调用了更新,就代表非禁用了) 1:禁用
---
rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml b/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml
index bc18949..8e7b119 100644
--- a/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml
+++ b/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml
@@ -11,6 +11,7 @@
li.loc_id,
li.loc_code,
l.barcode,
+ l.channel,
li.matnr_id,
li.matnr_code,
li.maktx,
@@ -21,7 +22,11 @@
FROM
man_loc_item li
INNER JOIN man_loc l ON l.id = li.loc_id
- WHERE l.use_status = #{type}
+ WHERE li.deleted = 0
+ AND l.use_status = #{type}
+ <if test="channel != null">
+ AND l.channel = #{channel}
+ </if>
GROUP BY
loc_id,
matnr_id,
--
Gitblit v1.9.1