|
@@ -166,7 +166,7 @@ public class GroupAlarmRuleController {
|
|
|
|
|
|
@ApiOperation(value = "集团页面查询报警类型")
|
|
@ApiOperation(value = "集团页面查询报警类型")
|
|
@PostMapping("/getAlarmItem")
|
|
@PostMapping("/getAlarmItem")
|
|
- public CommonResult<PageList<SimpleObjVO>> getAlarmItem(CheckAlarmItemDTO checkAlarmItemDTO) throws Exception {
|
|
|
|
|
|
+ public CommonResult<PageList<SimpleObjVO>> getAlarmItem(@RequestBody CheckAlarmItemDTO checkAlarmItemDTO) throws Exception {
|
|
QueryAlarmItemDTO queryAlarmItemDTO = new QueryAlarmItemDTO();
|
|
QueryAlarmItemDTO queryAlarmItemDTO = new QueryAlarmItemDTO();
|
|
DmpResult<List<AlarmItem>> dmpResult = alarmItemService.query(queryAlarmItemDTO);
|
|
DmpResult<List<AlarmItem>> dmpResult = alarmItemService.query(queryAlarmItemDTO);
|
|
List<GroupAlarmRule> existAlarmItem = groupAlarmRuleService.getExistAlarmItem(checkAlarmItemDTO.getGroupId());
|
|
List<GroupAlarmRule> existAlarmItem = groupAlarmRuleService.getExistAlarmItem(checkAlarmItemDTO.getGroupId());
|