package com.ruoyi.project.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import java.util.Date; import java.util.List; import com.ruoyi.project.domain.ServiceDonatebaseinfo; import com.ruoyi.project.domain.vo.TimeVO; import org.apache.ibatis.annotations.Param; /** * 捐献基础Mapper接口 * * @author ruoyi * @date 2021-11-13 */ public interface ServiceDonatebaseinfoMapper extends BaseMapper { /** * 查询捐献基础列表 * * @param serviceDonatebaseinfo 捐献基础 * @return 捐献基础集合 */ public List selectServiceDonatebaseinfoList(ServiceDonatebaseinfo serviceDonatebaseinfo); String getDonateNumberById(Long id); int getDonateCount(); int getDonateBaseCountThisYear(TimeVO timeVO); Integer countNumber(TimeVO timeVO); String getBloodCode(String bloodtype); Integer countTerminatedNumber(TimeVO timeVO); List getAllDonateBaseInfo(); List getBaseInfoByHospital(String organizationid); int updateDonateNumber(@Param("id") Long id, @Param("updateNumber") String updateNumber); List getAllDonateBaseInfoByTime(TimeVO timeVO); List listForSearch(ServiceDonatebaseinfo serviceDonatebaseinfo); String getDonorNameById(Long infoid); String gethqzz(Long infoid); ServiceDonatebaseinfo getById(Long infoid); int countByRecordState(@Param("recordState") String recordState, @Param("starttime") Date starttime, @Param("endtime") Date endtime); List getDistrictDonate(); List getDistrictComplete(); List getDistrictOrgans(); List getDistrictDonateByTime(TimeVO timeVO); List getDistrictCompleteByTime(TimeVO timeVO); List gettreatmenthospitalnoCompleteByTime(TimeVO timeVO); List getDistrictOrgansByTime(TimeVO timeVO); String getDonateNameById(Long infoid); }