fix : 출고 상태 변경
This commit is contained in:
@@ -198,7 +198,7 @@ public class AciPodTasklet implements Tasklet {
|
|||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
JsonNode jsonNode = objectMapper.readTree(response.getBody());
|
JsonNode jsonNode = objectMapper.readTree(response.getBody());
|
||||||
|
|
||||||
log.debug("[AciPodBatch] API 응답 Status: {}", jsonNode.get("Status").asText());
|
log.info("[AciPodBatch] API 응답 Status: {}", jsonNode.get("Status").asText());
|
||||||
JsonNode podInfoNode = jsonNode.get("PODInfo");
|
JsonNode podInfoNode = jsonNode.get("PODInfo");
|
||||||
if(!podInfoNode.isNull()) {
|
if(!podInfoNode.isNull()) {
|
||||||
List<DataMap> podInfoList = new ArrayList<>();
|
List<DataMap> podInfoList = new ArrayList<>();
|
||||||
@@ -252,10 +252,10 @@ public class AciPodTasklet implements Tasklet {
|
|||||||
|
|
||||||
podInfoList.add(PODInfo);
|
podInfoList.add(PODInfo);
|
||||||
}
|
}
|
||||||
log.debug("[AciPodBatch] API 응답 PODInfo: {}", podInfoList);
|
log.info("[AciPodBatch] API 응답 PODInfo: {}", podInfoList);
|
||||||
return podInfoList;
|
return podInfoList;
|
||||||
} else {
|
} else {
|
||||||
log.debug("[AciPodBatch] API 응답 ErrMsg: {}", jsonNode.get("ErrMsg").asText());
|
log.info("[AciPodBatch] API 응답 ErrMsg: {}", jsonNode.get("ErrMsg").asText());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user