package com.kiisoo.ic.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kiisoo.ic.domain.entity.PrivilageDomainEntityDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 数据权限域实体  Mapper 接口
 * @author jinchaofan
 * @since 2020-02-26
 */
@Repository
public interface PrivilageDomainEntityDOMapper extends BaseMapper<PrivilageDomainEntityDO> {

    /**
     * 查询店铺实体
     * @param userId 用户id
     * @param type 类型为3
     * @return 店铺实体
     */
    List<Long> selectEntityByUserId(@Param("userId") Long userId, @Param("type") Integer type);

}
