fix: msg_list → MSG_LIST 대문자 통일 및 rowcnt 값 정수 표기 수정

- standard-layout-djb.csv: msg_list → MSG_LIST 로 변경
- StandardMessageCoordinatorDJB: MSG_LIST 상수 경로 수정,
  msg_list_rowcnt 설정값 "00001" → "1" (NUMBER 타입에 선행 0 불필요)
- StandardLayoutDJBTest: findItem 경로 MSG.msg_list → MSG.MSG_LIST
- StandardMessageSpecTest: JSON 경로 msg_list → MSG_LIST

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
curry772
2026-04-21 13:39:53 +09:00
parent 2d17387def
commit bc79b8b166
4 changed files with 12 additions and 12 deletions
@@ -25,7 +25,7 @@ import com.ext.eai.common.stdmessage.STDMessageKeys;
*
* 표준전문 구조 변경에 따른 각 처리 단계 후처리 정의:
* - HEAD 평면 구조, GUID 40자, guid_prgs_no 별도 필드
* - MSG 영역: msg_dvcd(NM/EM) + MAIN_MSG + msg_list
* - MSG 영역: msg_dvcd(NM/EM) + MAIN_MSG + MSG_LIST
* - 처리결과구분코드: S(성공) / F(오류)
* - 전문종료부: @JJ
*/
@@ -63,7 +63,7 @@ public class StandardMessageCoordinatorDJB extends DefaultStandardMessageCoordin
private static final String MSG_OUTP_MSG_CD = "MSG.MAIN_MSG.outp_msg_cd";
private static final String MSG_OUTP_MSG_CTNT = "MSG.MAIN_MSG.outp_msg_ctnt";
private static final String MSG_LIST_ROWCNT = "MSG.MAIN_MSG.msg_list_rowcnt";
private static final String MSG_LIST = "MSG.msg_list";
private static final String MSG_LIST = "MSG.MSG_LIST";
// DATA 영역 경로
private static final String DATA_SCOP_LEN = "DATA.data_scop_len";
@@ -173,8 +173,8 @@ public class StandardMessageCoordinatorDJB extends DefaultStandardMessageCoordin
standardMessage.setData(MSG_OUTP_MSG_CD, siteErrCode);
standardMessage.setData(MSG_OUTP_MSG_CTNT, siteErrMsg);
// msg_list 1건 구성
standardMessage.setData(MSG_LIST_ROWCNT, "00001");
// MSG_LIST 1건 구성
standardMessage.setData(MSG_LIST_ROWCNT, "1");
StandardItem msgList = standardMessage.findItem(MSG_LIST);
if (msgList != null) {
msgList.setSize(1);
@@ -217,7 +217,7 @@ public class StandardMessageCoordinatorDJB extends DefaultStandardMessageCoordin
mainMsgItem.setSize(1);
}
// msg_dvcd=NM, outp_atrb_cd=0, outp_msg_cd, outp_msg_ctnt, msg_list_rowcnt=00000
// msg_dvcd=NM, outp_atrb_cd=0, outp_msg_cd, outp_msg_ctnt, msg_list_rowcnt=0
// → 모두 CSV 기본값 사용
makeMsgScopLen(responseMessage);