From 9bb62e919e8c85e7cfca55f0af90da5e48dcedeb Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期五, 30 一月 2026 17:08:39 +0800
Subject: [PATCH] 查询库存明细-订单号
---
rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 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..316b06d 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,
@@ -22,6 +23,9 @@
man_loc_item li
INNER JOIN man_loc l ON l.id = li.loc_id
WHERE l.use_status = #{type}
+ <if test="channel != null">
+ AND l.channel = #{channel}
+ </if>
GROUP BY
loc_id,
matnr_id,
--
Gitblit v1.9.1