修改所有定时任务执行时间

main
吴顺杰 3 months ago
parent 436f7992ef
commit 48bcefef7b

@ -170,7 +170,7 @@ public class AcheckTaskQuartz {
* *
* @Param qymc * @Param qymc
*/ */
@Scheduled(cron = "0 0 4 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @PostMapping("/insert") // @PostMapping("/insert")
// @ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据") // @ApiOperation(value = "新增创建时间为昨天且处于审批通过的工单数据")
public void selectAll() throws ParseException { public void selectAll() throws ParseException {
@ -651,7 +651,7 @@ public class AcheckTaskQuartz {
} }
@Scheduled(cron = "0 0 4 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @PostMapping("/zicha") // @PostMapping("/zicha")
// @ApiOperation(value = "自查") // @ApiOperation(value = "自查")
public void zicha() throws ParseException { public void zicha() throws ParseException {
@ -1025,7 +1025,7 @@ public class AcheckTaskQuartz {
/** /**
* *
*/ */
@Scheduled(cron = "0 0 4 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?") // @Scheduled(cron = "0 0/5 * * * ?")
// @PostMapping("/tfg") // @PostMapping("/tfg")
// @ApiOperation(value = "停复工表") // @ApiOperation(value = "停复工表")

@ -74,8 +74,7 @@ public class BqbhTszyQuartz {
*/ */
// @GetMapping("/bqbh") // @GetMapping("/bqbh")
// @ApiOperation(value = "保存班前班后数据") // @ApiOperation(value = "保存班前班后数据")
@Scheduled(cron = "0 0 1 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?")
public void saveBqbh() { public void saveBqbh() {
getToken(); getToken();
String res = HttpRequest.get(bqbhUrl) String res = HttpRequest.get(bqbhUrl)
@ -125,8 +124,7 @@ public class BqbhTszyQuartz {
*/ */
// @GetMapping("/tszy") // @GetMapping("/tszy")
// @ApiOperation(value = "保存特殊作业数据") // @ApiOperation(value = "保存特殊作业数据")
@Scheduled(cron = "0 0 1 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @Scheduled(cron = "0 0/5 * * * ?")
public void saveTszy() { public void saveTszy() {
getToken(); getToken();
String res = HttpRequest.get(tszyUrl) String res = HttpRequest.get(tszyUrl)

@ -68,7 +68,7 @@ public class EntQuartz {
/** /**
* *
*/ */
@Scheduled(cron = "0 30 00 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
public void addqyjcxxAndWgcy() { public void addqyjcxxAndWgcy() {
// 获取token // 获取token
String token = getToken(); String token = getToken();
@ -109,7 +109,7 @@ public class EntQuartz {
/** /**
* *
*/ */
@Scheduled(cron = "0 30 00 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
public void findEntDel() { public void findEntDel() {
// 获取token // 获取token
String token = getToken(); String token = getToken();
@ -132,7 +132,7 @@ public class EntQuartz {
/** /**
* *
*/ */
@Scheduled(cron = "0 40 00 * * ? ") @Scheduled(cron = "0 30 19 * * ? ")
// @GetMapping("findCode") // @GetMapping("findCode")
public void findCode() { public void findCode() {
// 获取token // 获取token

Loading…
Cancel
Save