# OooEmailTargetServiceImpl.java

    package cloud.wconnect.frontoffice.service.oooroom.impl;

    import cloud.wconnect.frontoffice.entity.oooroom.OooEmailTarget;
    import cloud.wconnect.frontoffice.mapper.oooroom.OooEmailTargetMapper;
    import cloud.wconnect.frontoffice.service.oooroom.IOooEmailTargetService;
    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>
     * ooo 邮件配置（收件人、抄送人）表 服务实现类
     * </p>
     *
     * @author yyt
     * @since 2023-08-05
     */
    @DS("ratelog_manage")
    @Service
    public class OooEmailTargetServiceImpl extends ServiceImpl<OooEmailTargetMapper, OooEmailTarget> implements IOooEmailTargetService {

        /**
         * 查询配置的用户
         *
         * @param id 通知 id
         * @return 配置的用户
         * @author yyt
         * @date 2024/11/20
         **/
        @Override
        public List<OooEmailTarget> list(Integer id) {
            return list(new QueryWrapper<OooEmailTarget>().lambda().eq(OooEmailTarget::getConfigId, id));
        }

    }