package com.shkj.wms.mapper;

import com.shkj.wms.domain.BaseArea;
import com.shkj.wms.bo.BaseAreaQueryListBo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shkj.wms.vo.BaseAreaListVo;
import com.shkj.wms.vo.BaseAreaNoOtherVo;

import java.util.List;

/**
 * 区域资料Mapper接口
 *
 * @author lch
 * @date 2022-05-13
 */
public interface BaseAreaMapper extends BaseMapper<BaseArea> {
    /**
     * 按照权限获取区域集合
     * @return
     */
    List<BaseAreaNoOtherVo> queryBaseAreaList(BaseAreaQueryListBo bo);

    /**
     * 获取区域和库别资料
     * @return
     */
    List<BaseAreaListVo> queryBaseAreaAndStorageList(Long branchId);

}
