1234567891011121314151617181920212223242526272829303132 |
- 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();
- System.out.println("调度任务处理完成!........");
- }
- }
|