package com.openhis.administration.mapper;

import com.openhis.administration.dto.PatientDataDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openhis.administration.domain.Patient;

import java.util.List;

/**
 * 患者管理Mapper接口
 *
 * @author system
 * @date 2025-02-20
 */
@Repository
public interface PatientMapper extends BaseMapper<Patient> {
    /**
     * Desc: 根据属性查询用户信息
     * @param patientId
     * @param activeFlag
     * @Author raymond
     * @Date 12:53 2025/10/28
     * @return java.util.List<com.openhis.administration.dto.PatientDataDto>
     **/
    List<PatientDataDto> searchPatientDataByPatientId(@Param("patientId") Long patientId,@Param("activeFlag") Integer activeFlag);

}