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<ServiceDonatebaseinfo>
|
{
|
/**
|
* 查询捐献基础列表
|
*
|
* @param serviceDonatebaseinfo 捐献基础
|
* @return 捐献基础集合
|
*/
|
public List<ServiceDonatebaseinfo> 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<ServiceDonatebaseinfo> getAllDonateBaseInfo();
|
|
List<ServiceDonatebaseinfo> getBaseInfoByHospital(String organizationid);
|
|
int updateDonateNumber(@Param("id") Long id, @Param("updateNumber") String updateNumber);
|
|
List<ServiceDonatebaseinfo> getAllDonateBaseInfoByTime(TimeVO timeVO);
|
|
List<ServiceDonatebaseinfo> 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<String> getDistrictDonate();
|
|
List<String> getDistrictComplete();
|
|
List<String> getDistrictOrgans();
|
|
|
List<String> getDistrictDonateByTime(TimeVO timeVO);
|
|
List<String> getDistrictCompleteByTime(TimeVO timeVO);
|
|
List<String> gettreatmenthospitalnoCompleteByTime(TimeVO timeVO);
|
|
List<String> getDistrictOrgansByTime(TimeVO timeVO);
|
|
|
String getDonateNameById(Long infoid);
|
}
|