package com.ibeetl.admin.core.dao;

import com.ibeetl.admin.core.entity.CoreUser;
import java.util.List;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;

@SqlResource("core.coreUser")
public interface CoreUserDao extends BaseMapper<CoreUser> {

  /**
   * 根据角色编码查询用户集合
   *
   * @param roleCode
   *     角色编码
   */
  List<CoreUser> getUserByRole(String roleCode);

}
