自动化立体仓库 - WMS系统
zwl
2025-07-25 2f13ca17500528381cf808ee09cc540be61fbf94
src/main/resources/mapper/LocMastMapper.xml
@@ -191,6 +191,9 @@
        <if test="crnNo == 3">
            and row1 in(6,7)
        </if>
        <if test="crnNo == 4">
            and row1 in(8,9)
        </if>
        ORDER BY lev1 ASC, bay1 ASC
    </select>
    <select id="queryLocByBarCode" resultType="com.zy.asrs.entity.LocMast">
@@ -221,4 +224,7 @@
    <select id="selectByBarcode" resultMap="BaseResultMap">
        SELECT * FROM asr_loc_mast where 1=1 and barcode = #{barcode}
    </select>
    <select id="selectOneByCrnNo" resultMap="BaseResultMap">
        SELECT * FROM asr_loc_mast where 1=1 and loc_sts = 'O' and crn_no = #{crnNo} order by lev1,bay1
    </select>
</mapper>