Browse Source

修改路况信息入库定时

develop
王兴琳 4 months ago
parent
commit
d6458c5c00
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcTimingOfTrafficConditionsController.java

2
zc-business/src/main/java/com/zc/business/controller/DcTimingOfTrafficConditionsController.java

@ -27,7 +27,7 @@ public class DcTimingOfTrafficConditionsController {
private IDcRoadConditionInformationService dcRoadConditionInformationService; private IDcRoadConditionInformationService dcRoadConditionInformationService;
// 调用服务层方法,获取当前交通指标数据 // 调用服务层方法,获取当前交通指标数据
@Scheduled(cron = "0 0/30 * * * *") @Scheduled(cron = "0 0/30 * * * ?")
//@Scheduled(cron = "0 0/1 * * * ?") //@Scheduled(cron = "0 0/1 * * * ?")
public void getTheCurrentCongestedSection() throws HttpException, IOException { public void getTheCurrentCongestedSection() throws HttpException, IOException {
// 调用服务层方法,获取当前交通指标数据 // 调用服务层方法,获取当前交通指标数据

Loading…
Cancel
Save