xujiaheng 3 年之前
父節點
當前提交
7edbdb9442

+ 1 - 1
src/main/java/com/persagy/apm/alarmservice/group/alarmrule/controller/GroupAlarmRuleController.java

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