From 4459e2a1721f9d5a3129f9af0ecaa9b625d2fc8b Mon Sep 17 00:00:00 2001
From: zhanzhiqin <895896009@qq.com>
Date: 星期二, 05 七月 2022 15:18:02 +0800
Subject: [PATCH] fix
---
ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java b/ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java
index 8af864d..1576f94 100644
--- a/ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java
+++ b/ximon-admin/src/main/java/com/sandu/ximon/admin/service/MonitorService.java
@@ -387,29 +387,6 @@
}
/**
- * 灏嗘憚鍍忓ご璁惧鐩稿叧淇℃伅鏇存柊鍒版暟鎹簱
- *
- * @param monitor 鎽勫儚澶村璞�
- * @return
- */
- public boolean upDateMonitorInfo(Monitor monitor) {
- if (monitor.getId() == null) {
- throw new BusinessException("缂哄皯鎽勫儚澶寸浉鍏矷D鍙傛暟");
- }
-
- Monitor info = getById(monitor.getId());
-
- if (info == null) {
- throw new BusinessException("鎵句笉鍒扮浉鍏虫憚鍍忓ご");
- }
- if (!monitor.getDevicesCode().equals(info.getDevicesCode()) || !monitor.getDeviceSerial().equals(info.getDeviceSerial())) {
- throw new BusinessException("鐩戞帶搴忓垪鍙锋垨鐩戞帶楠岃瘉鐮佷笉姝g‘");
- }
-
- return updateById(monitor);
- }
-
- /**
* 杩斿洖鎽勫儚澶村疄鏃剁敾闈㈡挱鏀惧湴鍧�
*
* @param accessToken
--
Gitblit v1.9.3