自动化立体仓库 - WMS系统
dubin
1 天以前 dd76858f35bb4fdd76d5976465e9bd96267b0f0b
src/main/resources/mapper/LocMastMapper.xml
@@ -124,7 +124,7 @@
            <when  test="sourceStaNo == 103">
                AND crn_no = 1 order by lev1,bay1,row1
            </when >
            <when  test="sourceStaNo == 305">
            <when  test="sourceStaNo == 305 or sourceStaNo == 1202">
                order by lev1 asc,bay1 desc,row1 asc
            </when >
        </choose>
@@ -137,4 +137,17 @@
        </foreach>
    </select>
    <select id="selectLocToSecond" resultType="com.zy.asrs.entity.LocMast">
        select loc_no as locNo,loc_type2 as locType2,crn_no as crnNo,row1 as row1,bay1 as bay1,lev1 as lev1
        from asr_loc_mast
        where loc_sts = 'O' and crn_no = 3 and (row1 =9 or row1 = 10)
        <if test="locType2 == 2">
            and lev1 in(1,2,3,4)
        </if>
        <if test="locType2 == 1">
            and lev1 in(5,6,7,8)
        </if>
        order by lev1 asc ,bay1 asc ,row1 asc
    </select>
</mapper>