From 1f2ab3faafd2c0e06d4aceb4bf5a815235a32608 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期二, 13 一月 2026 16:33:40 +0800
Subject: [PATCH] 实现mes和erp推送数据功能,mes已初测,erp待测试
---
rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml | 5 +++++
1 files changed, 5 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 df271db..316b06d 100644
--- a/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml
+++ b/rsf-server/src/main/resources/mapper/manager/LocItemMapper.xml
@@ -11,16 +11,21 @@
li.loc_id,
li.loc_code,
l.barcode,
+ l.channel,
li.matnr_id,
li.matnr_code,
li.maktx,
li.batch,
+ li.unit,
SUM( li.anfme ) anfme,
li.fields_index
FROM
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