自动化立体仓库 - WMS系统
#
Junjie
2025-10-16 2f8dcd296b25a93b6dd2e5f98d1455883db1f57c
src/main/resources/mapper/StaDescMapper.xml
@@ -19,4 +19,21 @@
    </resultMap>
    <select id="queryOutStaNosByLocNo" resultType="integer">
        select
        distinct asd.stn_no
        from asr_sta_desc asd
        where 1=1
        <if test="typeNo != null and typeNo !=''">
            and asd.type_no = #{typeNo}
        </if>
    </select>
    <select id="queryCrnStn" resultMap="BaseResultMap">
        select top 1 * from asr_sta_desc
        where 1=1
        and crn_no = #{crnNo}
        and type_no = 1
    </select>
</mapper>