优化代码
This commit is contained in:
parent
6d59774cfa
commit
18c401ba25
@ -22,12 +22,12 @@ public class SaticScheduleTask {
|
||||
|
||||
/**
|
||||
* 查询新的火点信息
|
||||
*/
|
||||
*//*
|
||||
@Scheduled(cron = "0 0/5 * * * ?")
|
||||
private void configureTasks() {
|
||||
logger.info("执行静态定时任务时间: " + LocalDateTime.now());
|
||||
System.out.println("------" + "开始执行定时任务");
|
||||
// tempQueryPoint.findPointToLocal();
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ public class EquipmentController {
|
||||
|
||||
Locale locale = LocaleContextHolder.getLocale();
|
||||
|
||||
@GetMapping("/getEquipment")
|
||||
/*@GetMapping("/getEquipment")
|
||||
public String getEquipment(){
|
||||
Locale locale = LocaleContextHolder.getLocale();
|
||||
|
||||
@ -95,7 +95,7 @@ public class EquipmentController {
|
||||
equipmentDao.save(equipment);
|
||||
}
|
||||
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, "设备入库成功!", locale);
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* 查询实时视频信息
|
||||
|
Loading…
Reference in New Issue
Block a user