diff --git a/src/main/java/com/zcloud/controller/map/MapController.java b/src/main/java/com/zcloud/controller/map/MapController.java index 61111842..4fd206c1 100644 --- a/src/main/java/com/zcloud/controller/map/MapController.java +++ b/src/main/java/com/zcloud/controller/map/MapController.java @@ -922,7 +922,7 @@ public class MapController extends BaseController { } } - @RequestMapping(value = "/getAlarmList") + @RequestMapping(value = "/getAllDwMessage") @ResponseBody public Object getAlarmList() throws Exception { Map map = new HashMap(); @@ -934,7 +934,10 @@ public class MapController extends BaseController { alarmGet.getPage().setCurrent("1"); alarmGet.getPage().setSize("20"); alarmGet.setCorpId(pd.getString("corpId")); - return dwService.getAlarmList(alarmGet); + map.put("result", "success"); + map.put("alarmList",dwService.getAlarmList(alarmGet)); + map.put("orthermessage",dwService.getAllMessage()); + return map; }else { PageData value = usersService.getPersonByCardNo(pd); map.put("result", "success");