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 implements IBaseExpertfeetypeService { /** * 查询专家费用列表 * * @param baseExpertfeetype 专家费用 * @return 专家费用 */ @Override public List queryList(BaseExpertfeetype baseExpertfeetype) { LambdaQueryWrapper 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); } }