龚焕茏
2024-04-30 e41f7a8cb42d189d7af204499e64f12a9ac553b7
ycl-server/src/main/java/com/ycl/task/CheckScore.java
@@ -1,12 +1,26 @@
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){
        System.out.println("执行模板---------->"+templateId);
        log.info("执行考核模板---------->{}",templateId);
        CheckTemplate checkTemplate = templateService.getById(templateId);
    }
}