# WalkRoomEmailTargetServiceImpl.java

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

    import cloud.wconnect.frontoffice.entity.walkroomrequest.WalkRoomEmailTarget;
    import cloud.wconnect.frontoffice.mapper.walkroomrequest.WalkRoomEmailTargetMapper;
    import cloud.wconnect.frontoffice.service.walkroomrequest.IWalkRoomEmailTargetService;
    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>
     * walk room 功能的邮件配置（收件人、抄送人）表 服务实现类
     * </p>
     *
     * @author lichen
     * @since 2023-07-08
     */
    @Service
    @DS("logbook")
    public class WalkRoomEmailTargetServiceImpl extends ServiceImpl<WalkRoomEmailTargetMapper, WalkRoomEmailTarget> implements IWalkRoomEmailTargetService {

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