修改企业信息查询bug

This commit is contained in:
chenlinlin 2025-07-18 18:41:58 +08:00
parent 12e4877860
commit 3f4f37975c
2 changed files with 0 additions and 3 deletions

View File

@ -691,8 +691,6 @@ public class EnterprisePoniteScheduleService {
log.info("刷新Token"); log.info("刷新Token");
refreshToken(); refreshToken();
} }
} catch (Exception e) {
log.info("危化企业信息查询查询异常:" + e);
} }
return flag; return flag;
} }

View File

@ -167,7 +167,6 @@ public class EnterpriseScheduleService {
.body("{\"page\": " + page + ",\"limit\": 1000,\"entity\": {}}") .body("{\"page\": " + page + ",\"limit\": 1000,\"entity\": {}}")
.execute() .execute()
.body(); .body();
log.info("企业信息查询结果:{}", body);
JsonNode jsonNode = objectMapper.readValue(body, JsonNode.class); JsonNode jsonNode = objectMapper.readValue(body, JsonNode.class);
if (jsonNode.has("code") && 200 == jsonNode.get("code").asInt() && jsonNode.has("data")) { if (jsonNode.has("code") && 200 == jsonNode.get("code").asInt() && jsonNode.has("data")) {
JsonNode data = objectMapper.readValue(jsonNode.get("data").toString(), JsonNode.class); JsonNode data = objectMapper.readValue(jsonNode.get("data").toString(), JsonNode.class);