波形代码提交
This commit is contained in:
@@ -48,6 +48,15 @@ public class ThsWarnStrategyController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, page, methodDescribe);
|
||||
}
|
||||
|
||||
@PostMapping("/getStrategyList")
|
||||
@ApiOperation("数据查询")
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
public HttpResult<List<ThsWarnStrategy>> strategyList(@RequestBody @Validated StrategyParam.StrategyPageParam param) {
|
||||
String methodDescribe = getMethodDescribe("getStrategyPage");
|
||||
List<ThsWarnStrategy> list = thsWarnStrategyService.strategyList(param);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, list, methodDescribe);
|
||||
}
|
||||
|
||||
@PostMapping("/insertStrategy")
|
||||
@ApiOperation(value = "数据添加")
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON, operateType = OperateType.ADD)
|
||||
@@ -113,10 +122,10 @@ public class ThsWarnStrategyController extends BaseController {
|
||||
|
||||
@GetMapping("/echoMonitor")
|
||||
@ApiOperation(value = "监测点回显")
|
||||
public HttpResult<List<String>> echoMonitor(@Param("deptId") String deptId,@Param("type") Integer type) {
|
||||
public HttpResult<StrategyParam.MonitorTree> echoMonitor(@Param("deptId") String deptId,@Param("type") Integer type) {
|
||||
String methodDescribe = getMethodDescribe("echoMonitor");
|
||||
List<String> strings = thsWarnStrategyService.echoMonitor(deptId, type);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, strings, methodDescribe);
|
||||
StrategyParam.MonitorTree info = thsWarnStrategyService.echoMonitor(deptId, type);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, info, methodDescribe);
|
||||
}
|
||||
|
||||
@PostMapping("/delStrategy")
|
||||
|
||||
Reference in New Issue
Block a user