|
@@ -40,7 +40,7 @@ public class ScheduleTask {
|
|
|
@Autowired
|
|
|
private RestTemplate restTemplate;
|
|
|
@Autowired
|
|
|
- private com.huimv.environ.eco.service.EcoDeviceFlowService ecoDeviceFlowService;
|
|
|
+ private EcoDeviceFlowService ecoDeviceFlowService;
|
|
|
@Autowired
|
|
|
private EcoDeviceService ecoDeviceService;
|
|
|
@Autowired
|
|
@@ -54,7 +54,7 @@ public class ScheduleTask {
|
|
|
// private static String URL = "http://www.0531yun.com/app/GetDeviceData";
|
|
|
|
|
|
// @Scheduled(cron = "0 0/5 * * * ?") //每5分钟执行一次
|
|
|
- @Scheduled(cron = "0 0/1 * * * ?") //每1分钟执行一次
|
|
|
+// @Scheduled(cron = "0 0/1 * * * ?") //每1分钟执行一次
|
|
|
// @Scheduled(cron = "*/10 * * * * ?") //每10秒钟执行一次
|
|
|
public void autoRunDryList() throws ParseException {
|
|
|
DateUtil dateUtil = new DateUtil();
|