| | |
| | | return ResultMessage.ok(resultMap); |
| | | } |
| | | |
| | | @RequestMapping(value = "alarmReminder2", method = RequestMethod.GET) |
| | | @ResponseBody |
| | | public ResultMessage alarmReminder2(HttpServletRequest request){ |
| | | Map<String, Object> parameters = WebUtils.getParametersStartingWith(request,null); |
| | | Object monitorPointIds = parameters.get("monitorPointIds"); |
| | | Object size = parameters.get("size"); |
| | | if (ObjectUtils.isEmpty(monitorPointIds) || ObjectUtils.isEmpty(size)){ |
| | | return ResultMessage.fail(ResponseCodeEnum.PARAMETERS_IS_MISSING.getCode(), ResponseCodeEnum.PARAMETERS_IS_MISSING.getMsg()); |
| | | } |
| | | Map<String, Object> resultMap = alarmInfoService.alarmReminderByMonitorPointIds(parameters); |
| | | return ResultMessage.ok(resultMap); |
| | | } |
| | | |
| | | @RequestMapping(value = "getDataByConditionWithoutPage", method = RequestMethod.GET) |
| | | @ResponseBody |
| | | public ResultMessage getDataByConditionWithoutPage(HttpServletRequest request){ |