自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-13 580eaad456dc829d829514218a0a5c52f38ef073
src/main/resources/mapper/BasDevpMapper.xml
@@ -41,15 +41,26 @@
    </resultMap>
    <select id="getAvailableDevp" resultType="java.lang.Integer">
    <select id="getAvailableInSite" 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 = 1
        and asd.type_no = #{typeNo}
        and abd.in_enable = 'Y'
        group by abd.dev_no
    </select>
    <select id="getAvailableOutSite" 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 abd.out_enable = 'Y'
        group by abd.dev_no
    </select>
</mapper>