debug ajm问题

This commit is contained in:
xufangming 2025-04-24 14:55:40 +08:00
parent 949a91de20
commit a5df52bb8e

View File

@ -334,7 +334,7 @@ public class NxJeDeviceServiceImpl extends ServiceImpl<NxJeDeviceDao, NxJeDevice
request.header("Content-Type", "application/json");
HttpResponse response = request.execute();
String result = response.body();
log.info("平台实时工况接口返回数据:{}", result);
log.info("deviceid:{}-----modelid:{}平台实时工况接口返回数据:{}",deviceId,jeDeviceEntity.getModelId(), result);
JSONObject jsonObject = JSONObject.parseObject(result);
JSONArray array = jsonObject.getJSONArray("payload");
@ -354,7 +354,7 @@ public class NxJeDeviceServiceImpl extends ServiceImpl<NxJeDeviceDao, NxJeDevice
}
}
} catch (Exception e) {
log.error("调用平台查询实时工况信息error", e);
log.error("{}调用平台查询实时工况信息error{}",deviceId,e.getMessage());
}
return resultMap;
}