# EosEmailTargetServiceImpl.java

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

    import cloud.wconnect.frontoffice.entity.endofshift.EosEmailTarget;
    import cloud.wconnect.frontoffice.mapper.endofshift.EosEmailTargetMapper;
    import cloud.wconnect.frontoffice.service.endofshift.IEosEmailTargetService;
    import com.baomidou.dynamic.datasource.annotation.DS;
    import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
    import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
    import org.apache.commons.collections.CollectionUtils;
    import org.springframework.stereotype.Service;

    import java.util.Collections;
    import java.util.List;

    /**
     * <p>
     * 服务实现类
     * </p>
     *
     * @author lichen
     * @since 2023-03-13
     */
    @Service
    @DS("ratelog_manage")
    public class EosEmailTargetServiceImpl extends ServiceImpl<EosEmailTargetMapper, EosEmailTarget> implements IEosEmailTargetService {

        /**
         * 查询通知对象集合
         *
         * @param configIds 配置ID集合
         * @return java.util.List<cloud.wconnect.frontoffice.entity.endofshiftreport.EosEmailTarget>
         * @author lichen
         * @date 2024/3/9
         */
        @Override
        public List<EosEmailTarget> listByConfigId(List<Integer> configIds) {
            if (CollectionUtils.isEmpty(configIds)) return Collections.emptyList();
            return list(new LambdaQueryWrapper<EosEmailTarget>()
                    .in(EosEmailTarget::getConfigId, configIds));
        }
    }