修改提交

This commit is contained in:
haozq 2024-06-20 14:13:37 +08:00
parent f2105f7cf5
commit 4dc7a49d37
1 changed files with 57 additions and 57 deletions

View File

@ -1,57 +1,57 @@
package com.xxl.job.executor.service.jobhandler; //package com.xxl.job.executor.service.jobhandler;
//
import com.xxl.job.executor.inter.service.InterServiceTest; //import com.xxl.job.executor.inter.service.InterServiceTest;
import org.springframework.scheduling.annotation.Scheduled; //import org.springframework.scheduling.annotation.Scheduled;
//
import javax.annotation.PostConstruct; //import javax.annotation.PostConstruct;
//
/** ///**
* 数据中台 处理中心 // * 数据中台 处理中心
* @author 黑子 // * @author 黑子
*/ // */
//@Component ////@Component
//@EnableScheduling ////@EnableScheduling
public class DataCenterXxlJobTest { //public class DataCenterXxlJobTest {
//
//@Autowired // //@Autowired
private InterServiceTest interService; // private InterServiceTest interService;
//
/** // /**
* 项目部定时任务 // * 项目部定时任务
* @return void // * @return void
* @author cwchen // * @author cwchen
* @date 2024/5/8 16:00 // * @date 2024/5/8 16:00
*/ // */
@Scheduled(cron = "0 30 * * * ?") // @Scheduled(cron = "0 30 * * * ?")
@PostConstruct // @PostConstruct
public void getProInfo() { // public void getProInfo() {
System.err.println("1"); // System.err.println("1");
interService.getProInfo(1); // interService.getProInfo(1);
System.err.println("2"); // System.err.println("2");
} // }
@Scheduled(cron = "0 30 * * * ?") // @Scheduled(cron = "0 30 * * * ?")
@PostConstruct // @PostConstruct
public void getSingleProjectInfo() { // public void getSingleProjectInfo() {
System.err.println("sign"); // System.err.println("sign");
interService.getSingleProjectInfo(1); // interService.getSingleProjectInfo(1);
System.err.println("sign"); // System.err.println("sign");
} // }
@Scheduled(cron = "0 30 * * * ?") // @Scheduled(cron = "0 30 * * * ?")
@PostConstruct // @PostConstruct
public void getBidPro() { // public void getBidPro() {
System.err.println("bd"); // System.err.println("bd");
interService.getBidPro(1); // interService.getBidPro(1);
System.err.println("bd"); // System.err.println("bd");
} // }
@Scheduled(cron = "0 30 * * * ?") // @Scheduled(cron = "0 30 * * * ?")
@PostConstruct // @PostConstruct
public void getDeptGcProject() { // public void getDeptGcProject() {
System.err.println("bd"); // System.err.println("bd");
interService.getDeptGcProject(1); // interService.getDeptGcProject(1);
System.err.println("bd"); // System.err.println("bd");
} // }
//
//
//
//
} //}