# CbCaseEmailTargetServiceImpl.java

    package cloud.wconnect.finance.service.chargeback.impl;

    import cloud.wconnect.finance.entity.chargeback.CbCaseEmailTarget;
    import cloud.wconnect.finance.mapper.chargeback.CbCaseEmailTargetMapper;
    import cloud.wconnect.finance.service.chargeback.ICbCaseEmailTargetService;
    import com.baomidou.dynamic.datasource.annotation.DS;
    import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
    import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
    import org.springframework.stereotype.Service;

    import java.util.List;

    /**
     * <p>
     * case 邮件配置（收件人、抄送人）表 服务实现类
     * </p>
     *
     * @author yyt
     * @since 2023-08-22
     */
    @Service
    @DS("finance")
    public class CbCaseEmailTargetServiceImpl extends ServiceImpl<CbCaseEmailTargetMapper, CbCaseEmailTarget> implements ICbCaseEmailTargetService {

        /**
         * 查询邮件配置通知对象
         *
         * @param configId 配置 id
         * @return 邮件配置通知对象
         * @author yyt
         * @date 2023/11/27
         */
        @Override
        public List<CbCaseEmailTarget> list(Integer configId) {
            return list(new QueryWrapper<CbCaseEmailTarget>().lambda().eq(CbCaseEmailTarget::getConfigId, configId));
        }

    }