package com.ycl.task; import com.ycl.platform.domain.entity.CheckTemplate; import com.ycl.platform.service.ICheckTemplateRuleService; import com.ycl.platform.service.ICheckTemplateService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component("checkScore") @Slf4j public class CheckScore { @Autowired private ICheckTemplateService templateService; @Autowired private ICheckTemplateRuleService templateRuleService; public void check(Integer templateId){ log.info("执行考核模板---------->{}",templateId); CheckTemplate checkTemplate = templateService.getById(templateId); } }