|
@@ -34,13 +34,13 @@ public class OrderCostMonitorAlarmTask {
|
|
|
if(!run){
|
|
|
return;
|
|
|
}
|
|
|
+ //0点0分到0点30分不执行
|
|
|
+ LocalDateTime now = LocalDateTime.now();
|
|
|
+ if(now.getHour() == 0 && now.getMinute() <= 30){
|
|
|
+ return;
|
|
|
+ }
|
|
|
log.info("订单与消耗监控告警定时任务开始.");
|
|
|
try {
|
|
|
- //0点0分到0点30分不执行
|
|
|
- LocalDateTime now = LocalDateTime.now();
|
|
|
- if(now.getHour() == 0 && now.getMinute() <= 30){
|
|
|
- return;
|
|
|
- }
|
|
|
//监控订单表
|
|
|
orderCostMonitorAlarmService.monitorDataStatus();
|
|
|
//监控头条广告消耗表
|