| | |
| | | * 大屏程序在线升级配置读取
|
| | | *********************************************/
|
| | | private String fileName = "Version.xml";
|
| | | private String ip = "121.40.92.176";
|
| | | private String ip = "47.96.19.115";
|
| | | private String userName = "ftp_user";
|
| | | private String userPwd = "qwer1234";
|
| | | private int port = 21;
|
| | |
| | | msg.append(" param[0] accountId:");
|
| | | msg.append(accountId);
|
| | | log.warn(msg);
|
| | | model.setViewName("401");
|
| | | model.setViewName("403");
|
| | | return model;
|
| | | }
|
| | | }
|
| | |
| | | Map<String, Object> parameters = getParametersStartingWith(request, null);
|
| | | parameters.put("type", "month");
|
| | | String sensorKey = "list";
|
| | | if (!ObjectUtils.isEmpty(parameters.get("sensorKey"))) {
|
| | | if (ObjectUtils.isEmpty(parameters.get("sensorKey"))) {
|
| | | parameters.put("description", "description");
|
| | | } else {
|
| | | sensorKey = parameters.remove("sensorKey").toString();
|
| | | List<String> sensorKeys = new ArrayList<String>();
|
| | | sensorKeys.add(sensorKey);
|
| | |
| | | }
|
| | | }
|
| | | Map pieData = alarmService.getPieData(parameters);
|
| | |
|
| | | List<Map<String, Object>> list = (List<Map<String, Object>>) pieData.get(sensorKey);
|
| | |
|
| | | return new ResultBean<List<Map<String, Object>>>(list);
|
| | | }
|
| | | }
|