package com.shkj.wms.mapper;

import com.shkj.common.core.domain.entity.BaseConsignor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shkj.wms.bo.BaseConsignorQueryBo;
import com.shkj.wms.vo.BaseConsignorVo;
import com.shkj.wms.vo.BranchTree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货主资料Mapper接口
 *
 * @author lch
 * @date 2022-03-22
 */
public interface BaseConsignorMapper extends BaseMapper<BaseConsignor> {

    List<BranchTree> selectBranchConsignor(@Param("branchIds") List<Long> branchIds);

    List<Long> selectConsignorListByRoleId(@Param("roleId") Long roleId);

    List<BaseConsignorVo> queryList(BaseConsignorQueryBo bo);

}
