1.技术监督试运行bug修改和全景问题接口调整

This commit is contained in:
wr
2024-07-09 13:55:07 +08:00
parent 1af8fcc72f
commit 075205d4b9
17 changed files with 182 additions and 20 deletions

View File

@@ -46,4 +46,10 @@ public interface TerminalBaseClient {
*/
@GetMapping("/terminalSyncRunFly")
HttpResult<Boolean> terminalSyncRunFly(@RequestParam("lineId") String lineId);
/**
* 监测点信息删除
*/
@GetMapping("/terminalSyncDeleteFly")
HttpResult<Boolean> terminalSyncDeleteFly(@RequestParam("lineId") String lineId);
}

View File

@@ -50,6 +50,12 @@ public class TerminalBaseClientFallbackFactory implements FallbackFactory<Termin
throw new BusinessException(finalExceptionEnum);
}
@Override
public HttpResult<Boolean> terminalSyncDeleteFly(String lineId) {
log.error("{}异常,降级处理,异常为:{}", "监测点信息删除", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};