| | |
| | | try { |
| | | AnalysisResultEntity entity = new AnalysisResultEntity(token); |
| | | entity.setLayerName(pub.getName()); |
| | | entity.setUnit(pub.getUnit()); |
| | | |
| | | List<MetaEntity> metas = publishService.selectMetasByPubid(pub.getId()); |
| | | if (null == metas || metas.isEmpty()) { |
| | |
| | | map.put("analysisForPost", entity); |
| | | |
| | | String json = JSONObject.toJSONString(map); |
| | | // System.out.println(json) |
| | | //System.out.println(json) |
| | | |
| | | WebSocketService.broadCastInfo(json); |
| | | } |
| | |
| | | try { |
| | | AnalysisResultEntity entity = new AnalysisResultEntity(); |
| | | entity.setLayerName(pub.getName()); |
| | | entity.setUnit(pub.getUnit()); |
| | | |
| | | List<MetaEntity> metas = publishService.selectMetasByPubid(pub.getId()); |
| | | if (null == metas || metas.isEmpty()) { |