Merge branch 'feature/standard-message-djb'

This commit is contained in:
curry772
2026-04-23 14:14:54 +09:00
2 changed files with 9 additions and 16 deletions
@@ -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 거래 && 일반거래 && 응답 거래
@@ -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;