|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return ResultMessage.fail(Integer.parseInt(resultMap.get("code").toString()),resultMap.get("msg").toString()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping(value = "getMonitorPointByFuzzy", method = RequestMethod.GET) | 
|---|
|  |  |  | @ResponseBody | 
|---|
|  |  |  | public ResultMessage getMonitorPointByFuzzy(HttpServletRequest request) { | 
|---|
|  |  |  | Map<String, Object> parameters = WebUtils.getParametersStartingWith(request, null); | 
|---|
|  |  |  | Map<String,Object> resultMap = monitorPointService.getMonitorPointByFuzzy(parameters); | 
|---|
|  |  |  | if (!resultMap.containsKey("code")){ | 
|---|
|  |  |  | return ResultMessage.ok(resultMap); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return ResultMessage.fail(Integer.parseInt(resultMap.get("code").toString()),resultMap.get("msg").toString()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|