|  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> professions = deviceService.selectDeviceDictData(Constants.SYSTEM_DICT_TYPE_PURCHASER); | 
|---|
|  |  |  | return ResultMessage.ok(professions); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping(value = "selectMonitorPiontAndDeviceByOrgId", method = RequestMethod.GET) | 
|---|
|  |  |  | public ResultMessage selectMonitorPiontAndDeviceByOrgId(HttpServletRequest request){ | 
|---|
|  |  |  | Map parames = WebUtils.getParametersStartingWith(request,null); | 
|---|
|  |  |  | int id = Integer.parseInt(parames.get("organization_id").toString()); | 
|---|
|  |  |  | List<Map<String, Object>> maps = deviceService.selectMonitorPiontAndDeviceByOrgId(id); | 
|---|
|  |  |  | return ResultMessage.ok(maps); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|