liusheng
2024-07-26 fb4d7127cd860b39e1c1c4242cfbbc09a659fc7a
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
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.VExpertfeeTotal;
import com.ruoyi.project.mapper.VExpertfeeTotalMapper;
import com.ruoyi.project.service.IVExpertfeeTotalService;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * VIEWService业务层处理
 *
 * @author ruoyi
 * @date 2024-03-18
 */
@Service
public class VExpertfeeTotalServiceImpl extends ServiceImpl<VExpertfeeTotalMapper, VExpertfeeTotal> implements IVExpertfeeTotalService {
 
 
    /**
     * 查询VIEW列表
     *
     * @param vExpertfeeTotal VIEW
     * @return VIEW
     */
    @Override
    public List<VExpertfeeTotal> queryList(VExpertfeeTotal vExpertfeeTotal) {
        LambdaQueryWrapper<VExpertfeeTotal> wrappers = Wrappers.lambdaQuery();
        if (vExpertfeeTotal.getFundTaxId() != null) {
            wrappers.eq(VExpertfeeTotal::getFundTaxId, vExpertfeeTotal.getFundTaxId());
        }
        if (StringUtils.isNotBlank(vExpertfeeTotal.getDeptmentname())) {
            wrappers.like(VExpertfeeTotal::getDeptmentname, vExpertfeeTotal.getDeptmentname());
        }
        if (vExpertfeeTotal.getDonormedicalcost() != null) {
            wrappers.eq(VExpertfeeTotal::getDonormedicalcost, vExpertfeeTotal.getDonormedicalcost());
        }
        if (vExpertfeeTotal.getDonorbodycost() != null) {
            wrappers.eq(VExpertfeeTotal::getDonorbodycost, vExpertfeeTotal.getDonorbodycost());
        }
        if (vExpertfeeTotal.getOrgangaincost() != null) {
            wrappers.eq(VExpertfeeTotal::getOrgangaincost, vExpertfeeTotal.getOrgangaincost());
        }
        if (vExpertfeeTotal.getOrganmedicalcost() != null) {
            wrappers.eq(VExpertfeeTotal::getOrganmedicalcost, vExpertfeeTotal.getOrganmedicalcost());
        }
        return this.list(wrappers);
    }
 
}