From ae866f079126f67b0ed4b72bb7f0fb2bb6c4108b Mon Sep 17 00:00:00 2001 From: lianlonggang Date: Fri, 10 Apr 2026 10:27:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(controller):=20=E7=A6=81=E6=AD=A2=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E8=A7=A3=E7=BB=91=E6=89=8B=E8=A1=A8=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E5=B9=B6=E4=BC=98=E5=8C=96=E5=BC=82=E6=AD=A5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移动端解绑设备接口返回错误提示,需联系健康管理员解绑 - 设备绑定流程中的警告开关设置改为异步执行 - 防止外部系统异常影响主业务流程 - 解绑操作中移除对数据中心的通知调用 --- .../controller/WatchDeviceController.java | 4 +++- .../service/impl/WatchDeviceServiceImpl.java | 21 +++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/health-watch/health-watch-biz/src/main/java/com/renkang/watch/controller/WatchDeviceController.java b/health-watch/health-watch-biz/src/main/java/com/renkang/watch/controller/WatchDeviceController.java index 40e64d5..eb173c6 100644 --- a/health-watch/health-watch-biz/src/main/java/com/renkang/watch/controller/WatchDeviceController.java +++ b/health-watch/health-watch-biz/src/main/java/com/renkang/watch/controller/WatchDeviceController.java @@ -207,7 +207,9 @@ public class WatchDeviceController extends JeecgController { + for (int i = 0; i < wdTypes.length; i++) { + WarnSwitch warnSwitch = new WarnSwitch(); + warnSwitch.setWatchNo(dto.getWatchNo()); + warnSwitch.setWdType(wdTypes[i]); + warnSwitch.setSwitchFlag("1"); + dataCenterExecutor.saveWarnSwitch(warnSwitch); + } + //通知更新 + dataCenterExecutor.cmdUpdateSwitch(dto.getWatchNo()); + }); } /**