自动化立体仓库 - WMS系统
zyx
2024-04-16 73de789fbbc67873aab0e72eb0f469ea195c1cbe
src/main/resources/mapper/LocDetlMapper.xml
@@ -64,6 +64,7 @@
        where 1=1
        and loc_no = #{locNo}
        and matnr = #{matnr}
        and (batch IS NULL OR batch = '')
        <choose>
            <when test="suppCode != null and suppCode != ''">
                and supp_code = #{suppCode}
@@ -180,9 +181,12 @@
        ROW_NUMBER() over (order by sum(a.anfme) desc) as row
        , a.matnr
        , sum(a.anfme) as anfme
        , a.maktx
        , a.specs
        , model
        from asr_loc_detl a
        where 1=1
        group by a.matnr
        group by a.matnr,a.maktx,a.specs,model
    </select>
    <select id="selectPakoutByRule" resultMap="BaseResultMap">