#
luxiaotao1123
2024-02-01 528d0da19f5fc3f5c78af3c99a1f2cfa914a27dd
zy-asrs-common/src/main/resources/mapper/wms/StaDescMapper.xml
@@ -2,16 +2,4 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zy.asrs.common.wms.mapper.StaDescMapper">
    <select id="queryOutStaNosByLocNo" resultType="integer">
        select
        distinct asd.stn_no
        from wms_sta_desc asd
        left join wms_loc_mast alm on asd.crn_no = alm.crn_no
        where 1=1
        and alm.loc_no = #{locNo}
        <if test="typeNo != null and typeNo !=''">
            and asd.type_no = #{typeNo}
        </if>
    </select>
</mapper>