package com.bonus.canteen.core.nutrition.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.nutrition.common.dto.HealthCustMedicalReportPageDTO;
import com.bonus.canteen.core.nutrition.common.model.HealthCustMedicalReport;
import com.bonus.canteen.core.nutrition.common.vo.HealthCustMedicalReportProjectVO;
import com.bonus.canteen.core.nutrition.common.vo.HealthCustMedicalReportVO;
import com.bonus.canteen.core.nutrition.common.vo.HealthHistoryReportInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HealthCustMedicalReportMapper extends BaseMapper<HealthCustMedicalReport> {

   List<HealthCustMedicalReportVO> pageMedicalReportInfo(@Param("param") HealthCustMedicalReportPageDTO param);

   List<HealthCustMedicalReportProjectVO> listCustReport(@Param("medicalId") Long medicalId);

   void deleteCustReport(@Param("medicalId") Long medicalId);

   List<HealthHistoryReportInfoVO> listCustHistoryReport(@Param("custId") Long custId);

   List<HealthCustMedicalReportVO> listMedicalReport(@Param("custId") Long custId);
}
