| | |
| | | @PostMapping("getBattAlmParam") |
| | | @ApiOperation("获取电池告警参数") |
| | | public Response getBattAlmParam(@RequestBody ParamAlmDto dto){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | dto.setUid(uid); |
| | | return battAlmparamService.getBattAlmParam(dto); |
| | | } |
| | | |
| | | @GetMapping("getBattAlmParamToExport") |
| | | @ApiOperation("获取电池告警参数(无参用于导出)") |
| | | public Response getBattAlmParamToExport(){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | return battAlmparamService.getBattAlmParamToExport(uid); |
| | | } |
| | | |
| | | @PostMapping("setBattAlmParam") |
| | |
| | | @PostMapping("getPwrAlmParam") |
| | | @ApiOperation("获取电源告警参数") |
| | | public Response getPwrAlmParam(@RequestBody ParamAlmDto dto){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | dto.setUid(uid); |
| | | return pwrAlmparamService.getPwrAlmParam(dto); |
| | | } |
| | | |
| | | |
| | | @GetMapping("getPwrAlmParamToExport") |
| | | @ApiOperation("获取电源告警参数(无参用于导出)") |
| | | public Response getPwrAlmParamToExport(){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | return pwrAlmparamService.getPwrAlmParamToExport(uid); |
| | | } |
| | | @PostMapping("setPwrAlmParam") |
| | | @ApiOperation("修改电源告警参数") |
| | | public Response setPwrAlmParam(@RequestBody List<PwrdevAlarmParam> almparamList){ |