diff --git a/src/main/java/com/eactive/eai/inbound/processor/RequestProcessor.java b/src/main/java/com/eactive/eai/inbound/processor/RequestProcessor.java index 6bb9fb9..225ea4f 100644 --- a/src/main/java/com/eactive/eai/inbound/processor/RequestProcessor.java +++ b/src/main/java/com/eactive/eai/inbound/processor/RequestProcessor.java @@ -368,6 +368,9 @@ public class RequestProcessor extends RequestProcessorSupport { logUnknownMessage(vo,orgMessage); throw new RequestProcessorException(vo.getRspErrorMsg()); }else { + // TODO : DJErp - 표준전문의 InterfaceID는 SEND_RECV_DIVISION, IN_EX_DIVISION 포함해야 할지에 따라 결정 + // mapper.setInterfaceId(standardMessage, eaiSvcCd); + /** * MCI Sync-Async 응답을 대표인터페이스로 구현하기 위해 추가 * 조건)MCI 거래 && 일반거래 && 응답 거래 diff --git a/src/main/java/com/eactive/eai/message/StandardItem.java b/src/main/java/com/eactive/eai/message/StandardItem.java index cf750fd..8da5eec 100644 --- a/src/main/java/com/eactive/eai/message/StandardItem.java +++ b/src/main/java/com/eactive/eai/message/StandardItem.java @@ -1023,20 +1023,15 @@ public class StandardItem implements Serializable, Cloneable { totalSize += getLength(); break; case StandardType.GROUP : - // skip variable group - if( getSize() == 0 - //카카오뱅크 => 카카오카드 400응답시 아래 로직을 추가해야 전체건수에서 메시지부가 처리됨 - //메시지부 size 0 refPath refValue 사용 해서 있고 없고 처리 - && (StringUtils.isBlank(getRefPath()) - || StringUtils.isBlank(getRefValue())) - ) { + // skip inactive/conditional group (size==0 means not activated) + if( getSize() == 0 ) { break; } if (isHidden) break; keyIter = childs.keySet().iterator(); while(keyIter.hasNext()) { String key = keyIter.next(); - StandardItem item = childs.get(key); + StandardItem item = childs.get(key); totalSize +=item.getBytesDataLength(charset); } break; @@ -1123,20 +1118,15 @@ public class StandardItem implements Serializable, Cloneable { } break; case StandardType.GROUP : - // skip variable group - if( getSize() == 0 - //카카오뱅크 => 카카오카드 400응답시 아래 로직을 추가해야 전체건수에서 메시지부가 처리됨 - //메시지부 size 0 refPath refValue 사용 해서 있고 없고 처리 - && (StringUtils.isBlank(getRefPath()) - || StringUtils.isBlank(getRefValue())) - ) { + // skip inactive/conditional group (size==0 means not activated) + if( getSize() == 0 ) { break; } if (isHidden) break; keyIter = childs.keySet().iterator(); while(keyIter.hasNext()) { String key = keyIter.next(); - StandardItem item = childs.get(key); + StandardItem item = childs.get(key); bos.write(item.toByteArray(withBizData,charset)); //하위로 내려갈때 withBizDat 값이 없어져서 추가 jun's 20231101 } break;