import com.gyee.healthmodel.HealthmodelMain; import com.gyee.healthmodel.service.HealthJudgeService; import com.gyee.healthmodel.util.SpringUtils; import lombok.SneakyThrows; import org.springframework.boot.SpringApplication; public class HealthTest { @SneakyThrows public static void main(String[] args) { SpringApplication.run(HealthmodelMain.class, args); System.out.println("调度程序执行开始!........"); HealthJudgeService healthJudgeService= SpringUtils.getBean("healthJudgeService"); healthJudgeService.healthJudge(); // healthJudgeService.changeHealthModelValue(); // RecommenmainsService recommenmainsService= SpringUtils.getBean("recommenmainsService"); // Calendar cal = Calendar.getInstance(); // recommenmainsService.deleteList(cal.getTime()); //// recommenmainsService.recommenMainWt(); // healthJudgeService.saveWindturbineBjCount(); // healthJudgeService.savePartbjcount(); // // HealthReportService healthReportService= SpringUtils.getBean("healthReportService"); // healthReportService.createHealthReport(new Date()); System.out.println("调度任务处理完成!........"); } }