package com.inkasso.factoring.system.role.dao;

import com.inkasso.factoring.system.role.entity.RoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 张超
* @date  2023-08-15
*/
public interface RoleDAO extends BaseMapper<RoleDO> {

    List<RoleDO> getByUserIdAndTenantId(@Param("userId") Long userId, @Param("tenantId") Long tenantId);

}