瀏覽代碼

监测系统修改去掉校验

wyyay 1 年之前
父節點
當前提交
b7cab7aa15

+ 3 - 3
vehicle-admin/src/main/java/com/ozs/web/controller/system/MonitorSystemController.java

@@ -110,9 +110,9 @@ public class MonitorSystemController extends BaseController {
     @PutMapping
     @ApiOperation(value = "监测系统-修改")
     public AjaxResult update(@RequestBody MonitorSystem monitorSystem){
-        if (UserConstants.EXCEPTION.equals(monitorSystemService.checkSystemOnline(monitorSystem))) {
-            return error("监测系统修改'" + monitorSystem.getClientId() + "'失败,该系统正在使用中,无法修改");
-        }
+//        if (UserConstants.EXCEPTION.equals(monitorSystemService.checkSystemOnline(monitorSystem))) {
+//            return error("监测系统修改'" + monitorSystem.getClientId() + "'失败,该系统正在使用中,无法修改");
+//        }
         monitorSystem.setUpdateBy(getUsername());
         monitorSystem.setUpdateTime(new Date());
         return AjaxResult.success(monitorSystemService.updateMonitorSystem(monitorSystem));