package com.kym.mapper.admin;

import com.github.yulichang.base.MPJBaseMapper;
import com.kym.entity.admin.AdminUser;
import com.kym.entity.admin.queryParams.CommonQueryParam;
import com.kym.entity.admin.vo.AdminUserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author skyline
 * @since 2023-07-11
 */
public interface AdminUserMapper extends MPJBaseMapper<AdminUser> {
    List<AdminUserVo> listUserPermissions(@Param("userId") Long loginId);

    List<AdminUserVo> listAdminUser(@Param("params") CommonQueryParam params);
}
