liusheng
2024-03-19 519886a70d630e3cdd6c0f40f55fcebc6e780dc5
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
package com.ruoyi.project.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.domain.ServiceDonateorganstatics;
import com.ruoyi.project.mapper.ServiceDonateorganstaticsMapper;
import com.ruoyi.project.service.IServiceDonateorganstaticsService;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * 捐献案例器官列Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-12-27
 */
@Service
public class ServiceDonateorganstaticsServiceImpl extends ServiceImpl<ServiceDonateorganstaticsMapper, ServiceDonateorganstatics> implements IServiceDonateorganstaticsService
{
 
 
    /**
     * 查询捐献案例器官列列表
     * 
     * @param serviceDonateorganstatics 捐献案例器官列
     * @return 捐献案例器官列
     */
    @Override
    public List<ServiceDonateorganstatics> queryList(ServiceDonateorganstatics serviceDonateorganstatics) {
        LambdaQueryWrapper<ServiceDonateorganstatics> wrappers = Wrappers.lambdaQuery();
        if (serviceDonateorganstatics.getInfoid() != null){
            wrappers.eq(ServiceDonateorganstatics::getInfoid ,serviceDonateorganstatics.getInfoid());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getDonateno())){
            wrappers.eq(ServiceDonateorganstatics::getDonateno ,serviceDonateorganstatics.getDonateno());
        }
        if (serviceDonateorganstatics.getDonatetime() != null){
            wrappers.eq(ServiceDonateorganstatics::getDonatetime ,serviceDonateorganstatics.getDonatetime());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getName())){
            wrappers.like(ServiceDonateorganstatics::getName ,serviceDonateorganstatics.getName());
        }
        if (serviceDonateorganstatics.getBorthdate() != null){
            wrappers.eq(ServiceDonateorganstatics::getBorthdate ,serviceDonateorganstatics.getBorthdate());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getSex())){
            wrappers.eq(ServiceDonateorganstatics::getSex ,serviceDonateorganstatics.getSex());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getAge())){
            wrappers.eq(ServiceDonateorganstatics::getAge ,serviceDonateorganstatics.getAge());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getDonationcategory())){
            wrappers.eq(ServiceDonateorganstatics::getDonationcategory ,serviceDonateorganstatics.getDonationcategory());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC22())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC22 ,serviceDonateorganstatics.getHospitalC22());
        }
        if (serviceDonateorganstatics.getFeeC22() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC22 ,serviceDonateorganstatics.getFeeC22());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC22l())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC22l ,serviceDonateorganstatics.getHospitalC22l());
        }
        if (serviceDonateorganstatics.getFeeC22l() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC22l ,serviceDonateorganstatics.getFeeC22l());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC22le())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC22le ,serviceDonateorganstatics.getHospitalC22le());
        }
        if (serviceDonateorganstatics.getFeeC22le() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC22le ,serviceDonateorganstatics.getFeeC22le());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC22r())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC22r ,serviceDonateorganstatics.getHospitalC22r());
        }
        if (serviceDonateorganstatics.getFeeC22r() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC22r ,serviceDonateorganstatics.getFeeC22r());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC64l())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC64l ,serviceDonateorganstatics.getHospitalC64l());
        }
        if (serviceDonateorganstatics.getFeeC64l() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC64l ,serviceDonateorganstatics.getFeeC64l());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC64r())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC64r ,serviceDonateorganstatics.getHospitalC64r());
        }
        if (serviceDonateorganstatics.getFeeC64r() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC64r ,serviceDonateorganstatics.getFeeC64r());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC38())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC38 ,serviceDonateorganstatics.getHospitalC38());
        }
        if (serviceDonateorganstatics.getFeeC38() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC38 ,serviceDonateorganstatics.getFeeC38());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC34())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC34 ,serviceDonateorganstatics.getHospitalC34());
        }
        if (serviceDonateorganstatics.getFeeC34() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC34 ,serviceDonateorganstatics.getFeeC34());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC34l())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC34l ,serviceDonateorganstatics.getHospitalC34l());
        }
        if (serviceDonateorganstatics.getFeeC34l() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC34l ,serviceDonateorganstatics.getFeeC34l());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC34r())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC34r ,serviceDonateorganstatics.getHospitalC34r());
        }
        if (serviceDonateorganstatics.getFeeC34r() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC34r ,serviceDonateorganstatics.getFeeC34r());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC17())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC17 ,serviceDonateorganstatics.getHospitalC17());
        }
        if (serviceDonateorganstatics.getFeeC17() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC17 ,serviceDonateorganstatics.getFeeC17());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC69l())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC69l ,serviceDonateorganstatics.getHospitalC69l());
        }
        if (serviceDonateorganstatics.getFeeC69l() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC69l ,serviceDonateorganstatics.getFeeC69l());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC69r())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC69r ,serviceDonateorganstatics.getHospitalC69r());
        }
        if (serviceDonateorganstatics.getFeeC69r() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC69r ,serviceDonateorganstatics.getFeeC69r());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getHospitalC01())){
            wrappers.eq(ServiceDonateorganstatics::getHospitalC01 ,serviceDonateorganstatics.getHospitalC01());
        }
        if (serviceDonateorganstatics.getFeeC01() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeC01 ,serviceDonateorganstatics.getFeeC01());
        }
        if (StringUtils.isNotBlank(serviceDonateorganstatics.getUnitBody())){
            wrappers.eq(ServiceDonateorganstatics::getUnitBody ,serviceDonateorganstatics.getUnitBody());
        }
        if (serviceDonateorganstatics.getFeeCount() != null){
            wrappers.eq(ServiceDonateorganstatics::getFeeCount ,serviceDonateorganstatics.getFeeCount());
        }
        return this.list(wrappers);
    }
 
}