skyouc
2025-07-29 c229a84e0a8eb68c974e6d23fa1296e064025d76
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,