# BusinesstaskConfig.java

    package cloud.wconnect.workperformance.config;

    import cloud.wconnect.commonlib.businesstask.CheckReportMissedService;
    import cloud.wconnect.commonlib.businesstask.rule.MissedRuleByThreshold;
    import cloud.wconnect.commonlib.redis.BusinessTaskRedis;
    import org.springframework.context.annotation.Bean;
    import org.springframework.context.annotation.Configuration;

    /**
     * @author lichen
     * @description businesstask 的配置类
     * @date 2023/3/24 17:56
     */
    @Configuration
    public class BusinesstaskConfig {

        /**
         * @return cloud.wconnect.commonlib.redis.BusinesstaskRedis
         * @description 注入BusinesstaskRedis对象
         * @author lichen
         * @date 2023/3/24 16:33
         */
        @Bean
        public BusinessTaskRedis businesstaskRedis(){
            return new BusinessTaskRedis();
        }

        /**
         * @return MissedRuleByThreshold
         * @description 报告是否缺失的校验规则
         * @author lichen
         * @date 2023/3/24 17:59
         */
        @Bean
        public MissedRuleByThreshold missedRuleByThreshold(){
            return new MissedRuleByThreshold();
        }

        /**
         * @return CheckReportMissedService
         * @description 检测报告是否缺失
         * @author lichen
         * @date 2023/3/24 18:00
         */
        @Bean
        public CheckReportMissedService checkReportMissedService(){
            return new CheckReportMissedService();
        }

    }