liusheng
2023-08-07 4b6e55140537e4932f4ea46f6c62c72af1ddb40e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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);
}