| | |
| | | try { |
| | | List<WsEquipmentStatus> equipmentStatusList = equipmentService.selectEquipmentStatus(); |
| | | if (equipmentStatusList != null && !equipmentStatusList.isEmpty()) { |
| | | for (WsEquipmentStatus wsEquipmentStatus : equipmentStatusList) { |
| | | String s = JSONObject.toJSONString(wsEquipmentStatus); |
| | | log.info("上报状态数据 ===== " + s); |
| | | String result = CxfClientUtil.invokeService(url, s, namespace, method); |
| | | log.info("上报状态结果 ===== " + result); |
| | | } |
| | | String s = JSONObject.toJSONString(equipmentStatusList); |
| | | log.info("上报状态数据 ===== " + s); |
| | | String result = CxfClientUtil.invokeService(url, s, namespace, method); |
| | | log.info("上报状态结果 ===== " + result); |
| | | } |
| | | quartzLog.setIsSuccess(0); |
| | | } catch (Exception e) { |