自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-11 77ce9b966a4965bf1d5bdcb1dbd8e76dd45a8c53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.zy.asrs.mapper;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.asrs.entity.LocMast;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
@Mapper
@Repository
public interface LocMastMapper extends BaseMapper<LocMast> {
 
    @Select("select top 1 * from asr_loc_mast where row1=#{row} and loc_type='O' order by loc_type desc ,lev1 asc,bay1 asc")
    LocMast queryFreeLocMast(@Param("row") Integer row);
 
}