自动化立体仓库 - WMS系统
#
whycq
2025-01-08 4a8e08071d69fa0e74d0ef85b520b0debd0dc009
src/main/resources/mapper/BasDevpMapper.xml
@@ -51,7 +51,19 @@
        left join asr_sta_desc asd on abd.dev_no = asd.stn_no
        where 1=1
        and asd.type_no = #{typeNo}
        and abd.in_enable = 'Y'
        -- and abd.in_enable = 'Y'
        group by abd.dev_no
    </select>
    <select id="getAvailableInSite5" resultType="java.lang.Integer">
        select
            abd.dev_no
        from asr_bas_devp abd
                 left join asr_sta_desc asd on abd.dev_no = asd.stn_no
        where 1=1
          and asd.type_no = #{typeNo}
        and asd.crn_no = 5
        -- and abd.in_enable = 'Y'
        group by abd.dev_no
    </select>
@@ -62,7 +74,7 @@
        left join asr_sta_desc asd on abd.dev_no = asd.stn_no
        where 1=1
        and asd.type_no = #{typeNo}
        and abd.out_enable = 'Y'
        -- and abd.out_enable = 'Y'
        group by abd.dev_no
    </select>