package com.diagbot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.diagbot.dto.SysUserQueryDTO;
import com.diagbot.entity.SysUser;
import com.diagbot.vo.SysUserQueryVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统用户表 Mapper 接口
 * </p>
 *
 * @author gaodm
 * @since 2020-04-09
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    IPage<SysUserQueryDTO> userPage(SysUserQueryVO sysUserQueryVO);

    SysUser getUser(@Param("claimantId") String claimantId, @Param("hospitalId") Long hospitalId);
}
