liusheng
2023-11-03 b7cd70a1dc48f2cd2f5ed36d09f92c8ebcc62c8b
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
package com.ruoyi.project.service.impl;
 
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.ArrayList;
import java.util.Map;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.project.mapper.BaseExpertfeetypeMapper;
import com.ruoyi.project.domain.BaseExpertfeetype;
import com.ruoyi.project.service.IBaseExpertfeetypeService;
 
/**
 * 专家费用Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-04-19
 */
@Service
public class BaseExpertfeetypeServiceImpl extends ServiceImpl<BaseExpertfeetypeMapper, BaseExpertfeetype> implements IBaseExpertfeetypeService 
{
 
 
    /**
     * 查询专家费用列表
     * 
     * @param baseExpertfeetype 专家费用
     * @return 专家费用
     */
    @Override
    public List<BaseExpertfeetype> queryList(BaseExpertfeetype baseExpertfeetype) {
        LambdaQueryWrapper<BaseExpertfeetype> wrappers = Wrappers.lambdaQuery();
        if (StringUtils.isNotBlank(baseExpertfeetype.getTypecode())){
            wrappers.eq(BaseExpertfeetype::getTypecode ,baseExpertfeetype.getTypecode());
        }
        if (StringUtils.isNotBlank(baseExpertfeetype.getTypename())){
            wrappers.like(BaseExpertfeetype::getTypename ,baseExpertfeetype.getTypename());
        }
        return this.list(wrappers);
    }
 
}