自动化立体仓库 - WMS系统
dubin
2026-01-20 67826a2c51bbc013db409dd1a5e29dd4ba52fd72
src/main/resources/mapper/LocDetlMapper.xml
@@ -152,6 +152,7 @@
        update asr_loc_detl
        set anfme = #{anfme}
        , modi_time = getdate()
        , appe_time = getdate()
        where 1=1
        and loc_no = #{locNo}
        and matnr = #{locDetl.matnr}
@@ -244,7 +245,7 @@
        select * from
        (
        select
        ROW_NUMBER() over (order by a.appe_time,a.matnr,a.loc_no) as row,
        ROW_NUMBER() over (order by a.modi_time, a.loc_no) as row,
        a.*
        from asr_loc_detl a
        left join asr_loc_mast b on a.loc_no = b.loc_no