30s定时更新执法仪设备状态

This commit is contained in:
guoshengxiong 2025-10-29 16:43:59 +08:00
parent 2cb471c2a4
commit e581718c90

View File

@ -64,7 +64,7 @@ public class Mcs8Task {
/**
* 定时更新执法仪设备状态
*/
@Scheduled(cron = "0 */5 * * * ?")
@Scheduled(cron = "*/30 * * * * ?")
@RequestMapping("updateStatus")
public void updateStatus() {
List<Project> projects = projectService.list();