自动化立体仓库 - WMS系统
zhang
2025-10-20 e85f0e74d21e49b9c68474bc4d19f5eceacf1a46
src/main/resources/mapper/asrs/LocMastMapper.xml
@@ -127,7 +127,6 @@
        and crn_no=#{crnNo}
        and bay1 = #{bay}
        and lev1 = #{lev}
        and gro1 = #{gro}
        AND loc_sts not in ('O') order by row1
    </select>
@@ -150,7 +149,6 @@
        and crn_no=#{crnNo}
        and bay1 = #{bay}
        and lev1 = #{lev}
        and gro1 = #{gro}
        AND loc_sts not in ('O') order by row1 desc
    </select>
<!--    <select id="selectLocByLocStsPakInO1" resultMap="BaseResultMap">-->
@@ -172,7 +170,6 @@
        and crn_no=#{crnNo}
        and bay1 = #{bay}
        and lev1 = #{lev}
        and gro1 = #{gro}
        AND loc_sts in ('O') order by row1 desc
    </select>
<!--    <select id="selectLocByLocStsPakInO2" resultMap="BaseResultMap">-->
@@ -194,7 +191,6 @@
        and crn_no=#{crnNo}
        and bay1 = #{bay}
        and lev1 = #{lev}
        and gro1 = #{gro}
        AND loc_sts in ('O') order by row1
    </select>
    <select id="findFirstFrozenLocNo" resultType="java.lang.String">
@@ -204,4 +200,10 @@
        </foreach>
    </select>
    <select id="selectRowByCrnNo" resultType="java.lang.Integer">
        select DISTINCT row1 from asr_loc_mast
        where crn_no = #{crnNo}
        order by row1
    </select>
</mapper>