package com.wms.mapper; import com.wms.entity.table.Location; import org.apache.ibatis.annotations.Mapper; import java.util.List; @Mapper public interface LocationMapper { int selectAll(Location location); /** * 查询库位列表 * @param location * @return */ List selLocations(Location location); List selSmallDepthLocations(Location location); /** * 查找下一个可用库位 * @param location 具体信息 * @return 结果 */ List selNextLocation(Location location); /** * 添加一个新库位 * @param location 库位信息 * @return 添加结果 */ int addLocation(Location location); /** * 修改库位信息 * @param location * @return */ int modifyLocation(Location location); }