|
@@ -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));
|