package com.testor.module.iam.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.testor.module.iam.model.domain.IamSysUser;
import com.testor.module.sys.model.dto.SysUserListResponse;
import com.testor.module.sys.model.dto.SysUserParam;
import com.testor.module.train.project.model.dto.TTrainProjectParam;
import com.tongtech.tfw.backend.common.models.supers.SuperDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: IamSysUserDao
 * @Description: TODO
 * @Author: lm
 * @CreateTime: 2023/12/29 10:22
 * @Version: 1.0
 */
public interface IamSysUserDao extends SuperDao<IamSysUser> {

    List<SysUserListResponse> querySysUserList(@Param("param") SysUserParam queryParam);

    Long querySysUserListCount(@Param("param") SysUserParam queryParam);


    IPage<SysUserListResponse> pageUserList(Page<SysUserListResponse> resultPage,
                                            @Param("param") SysUserParam queryParam);

}
