修改告警策略,绑定监测点
This commit is contained in:
@@ -122,9 +122,11 @@ public class ThsWarnStrategyController extends BaseController {
|
||||
|
||||
@GetMapping("/echoMonitor")
|
||||
@ApiOperation(value = "监测点回显")
|
||||
public HttpResult<StrategyParam.MonitorTree> echoMonitor(@Param("deptId") String deptId,@Param("type") Integer type) {
|
||||
public HttpResult<StrategyParam.MonitorTree> echoMonitor(@Param("deptId") String deptId,
|
||||
@Param("type") Integer type,
|
||||
@Param("grade") Integer grade) {
|
||||
String methodDescribe = getMethodDescribe("echoMonitor");
|
||||
StrategyParam.MonitorTree info = thsWarnStrategyService.echoMonitor(deptId, type);
|
||||
StrategyParam.MonitorTree info = thsWarnStrategyService.echoMonitor(deptId, type,grade);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, info, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user