注释不需要的定时任务

2.0-dev
胡锐 4 months ago
parent b006cd6d7c
commit 45ffb3ba18
  1. 2
      hai-cweb/src/main/java/com/cweb/controller/HighTestController.java
  2. 4
      hai-schedule/src/main/java/com/hai/schedule/ApiBlxCouponSchedule.java
  3. 2
      hai-schedule/src/main/java/com/hai/schedule/ApiThirdProductSchedule.java
  4. 6
      hai-schedule/src/main/java/com/hai/schedule/HighCouponSchedule.java
  5. 8
      hai-schedule/src/main/java/com/hai/schedule/HighDiscountSchedule.java
  6. 6
      hai-schedule/src/main/java/com/hai/schedule/HighGasSchedule.java
  7. 4
      hai-schedule/src/main/java/com/hai/schedule/HighIntegralSchedule.java
  8. 4
      hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java
  9. 4
      hai-schedule/src/main/java/com/hai/schedule/HighRechargeOrderSchedule.java
  10. 1
      hai-schedule/src/main/java/com/hai/schedule/HighTestController.java
  11. 4
      hai-schedule/src/main/java/com/hai/schedule/SynchronizeCNPC.java

File diff suppressed because one or more lines are too long

@ -26,7 +26,7 @@ public class ApiBlxCouponSchedule {
@Resource
private BlxConfig blxConfig;
/*
@Scheduled(cron="0 0/60 * * * ?") //每60分钟执行一次
public void getBlxCoupon() {
JSONObject object = blxConfig.queryCouponPage();
@ -72,6 +72,6 @@ public class ApiBlxCouponSchedule {
}
}
}*/
}

@ -25,6 +25,7 @@ public class ApiThirdProductSchedule {
@Resource
private ApiProductService apiProductService;
/*
@Scheduled(cron="0 0/30 * * * ?") //每30分钟执行一次
public void getStarbucksProducts() throws Exception {
@ -116,5 +117,6 @@ public class ApiThirdProductSchedule {
}
}
}
*/
}

@ -74,11 +74,11 @@ public class HighCouponSchedule {
}
}
/**
/* *//**
* @Author 胡锐
* @Description 处理汇联卡券状态
* @Date 2021/4/4 22:44
**/
**//*
@Scheduled(cron="0 0/10 * * * ?") //每10分钟执行一次
public void handleCouponStatus() throws Exception {
HighCouponCodeOtherExample example = new HighCouponCodeOtherExample();
@ -129,7 +129,7 @@ public class HighCouponSchedule {
}
}
}
}
}*/
@Scheduled(cron="0 0/15 * * * ?") //每30分钟执行一次

@ -43,7 +43,7 @@ public class HighDiscountSchedule {
* @Date 2021/4/4 22:44
**/
//@Scheduled(cron = "5 0 0 * * ?") //每日凌晨12点5秒执行一次
@Scheduled(cron="0 0/1 * * * ?") //每1分钟执行一次
/* @Scheduled(cron="0 0/1 * * * ?") //每1分钟执行一次
public void expiredDiscount() {
List<HighDiscountUserRel> expiredDiscount = highDiscountUserRelService.getExpiredDiscount();
for (HighDiscountUserRel rel : expiredDiscount) {
@ -61,10 +61,10 @@ public class HighDiscountSchedule {
log.error("HighCouponSchedule --> expiredCoupon() error!", e);
}
}
}
}*/
@Scheduled(cron = "0 5 0 * * ?") // 每日凌晨00:00:5执行一次
/* @Scheduled(cron = "0 5 0 * * ?") // 每日凌晨00:00:5执行一次
public void deleteOilNo() {
List<BsTemporary> list = bsTemporaryServices.getList(new HashMap<>());
@ -80,6 +80,6 @@ public class HighDiscountSchedule {
}
}
}*/
}

@ -147,22 +147,24 @@ public class HighGasSchedule {
// }
// }
// }
/*
@Scheduled(cron = "5 0 0 * * ?") // 每日凌晨00:00:5执行一次
public void getJiaHaoYouAllStation() throws Exception {
// gasService.getJiaHaoYouAllStation();
}
*/
// @Scheduled(cron = "5 0 0 * * ?") // 每日凌晨00:00:5执行一次
// public void getPayloAllStation() throws Exception {
// gasService.getPayloAllStation();
// }
@Scheduled(cron = "5 0 0 * * ?") // 每日凌晨00:00:5执行一次
@Scheduled(cron = "0 0 2 * * ?") // 每日凌晨00:00:5执行一次
public void getDianAllStation() throws Exception {
gasService.getDianAllStation();
}
@Scheduled(cron = "0 0 3 * * ?") // 每日凌晨00:00:7执行一次
@Scheduled(cron = "0 0 4 * * ?") // 每日凌晨00:00:7执行一次
public void deleteOilNo() {
gasService.deleteOilNo();
}

@ -30,7 +30,7 @@ public class HighIntegralSchedule {
@Resource
private HighUserService highUserService;
@Scheduled(cron="0 0/5 * * * ?") //每5分钟执行一次
/* @Scheduled(cron="0 0/5 * * * ?") //每5分钟执行一次
public void integralRebateOrder() {
List<HighGoldRec> list = highGoldRecService.selectByExpiringSoonByAll(365);
@ -44,6 +44,6 @@ public class HighIntegralSchedule {
}
}
}*/
}

@ -74,7 +74,7 @@ public class HighOrderSchedule {
* @Param []
* @return void
*/
@Scheduled(cron="0 0/10 * * * ?") //每 10分钟执行一次
/* @Scheduled(cron="0 0/10 * * * ?") //每 10分钟执行一次
public void integralRebateOrder() {
// 查询满足初步返利条件订单
@ -99,7 +99,7 @@ public class HighOrderSchedule {
highOrderService.updateOrderDetail(highOrder);
}
}
}*/
}

@ -50,7 +50,7 @@ public class HighRechargeOrderSchedule {
* @Date 14:18 2022/5/31
* @Param []
*/
@Scheduled(cron = "0 0/60 * * * ?") //每60分钟执行一次
/* @Scheduled(cron = "0 0/60 * * * ?") //每60分钟执行一次
public void initRechargeOrder() {
log.info("处理话费订单定时任务开始");
Map<String, Object> map = new HashMap<>();
@ -67,7 +67,7 @@ public class HighRechargeOrderSchedule {
}
}
}
}
}*/
}

File diff suppressed because one or more lines are too long

@ -38,7 +38,7 @@ public class SynchronizeCNPC {
@Resource
private SecSinopecConfigService secSinopecConfigService;
/*
@Scheduled(cron="0 0/5 * * * ?") //每5分钟执行一次
public void certification() {
@ -145,7 +145,7 @@ public class SynchronizeCNPC {
}
}
}
}
}*/
/*@Scheduled(cron="0 0/1 * * * ?") //每5分钟执行一次
public void certification3(){

Loading…
Cancel
Save