# HkInventoryEmailTargetServiceImpl.java

    package cloud.wconnect.workperformance.service.hkinventory.impl;

    import cloud.wconnect.workperformance.entity.hkinventory.HkInventoryEmailTarget;
    import cloud.wconnect.workperformance.mapper.hkinventory.HkInventoryEmailTargetMapper;
    import cloud.wconnect.workperformance.service.hkinventory.IHkInventoryEmailTargetService;
    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.springframework.stereotype.Service;

    import java.util.List;

    /**
     * <p>
     * Housekeeping Inventory功能的邮件配置（收件人、抄送人）表 服务实现类
     * </p>
     *
     * @author lichen
     * @since 2025-04-19
     */
    @Service
    @DS("work_performance")
    public class HkInventoryEmailTargetServiceImpl extends ServiceImpl<HkInventoryEmailTargetMapper, HkInventoryEmailTarget> implements IHkInventoryEmailTargetService {

        /**
         * 查询通知人
         *
         * @param configId 邮件配置id
         * @return java.util.List<cloud.wconnect.workperformance.entity.hkinventory.HkInventoryEmailTarget>
         * @author lichen
         * @date 2025/4/25
         */
        @Override
        public List<HkInventoryEmailTarget> listByConfigId(Integer configId) {
            return list(new LambdaQueryWrapper<HkInventoryEmailTarget>().eq(HkInventoryEmailTarget::getConfigId, configId));
        }
    }