| | |
| | | Long code = monitorPoint.getAreaCode().longValue();
|
| | | String regionName = areaService.queryFullNameByCode(code);
|
| | | Device device = deviceService.getDeviceByMac(mac, false);
|
| | | Device deviceSecond = deviceService.getDeviceByLongitudeAsc(mac);
|
| | | params.put("sensorInfo", resultMap);
|
| | | params.put("regionCode", code);
|
| | | params.put("regionName", regionName);
|
| | | params.put("monitorPoint", monitorPoint);
|
| | | params.put("device", device);
|
| | | params.put("deviceSecond",deviceSecond);
|
| | | String paramsJson = params.toJSONString();
|
| | | model.addObject("traceabilityParams", paramsJson);
|
| | | model.setViewName("traceability");
|