refactor: CSV 기본값 이관 및 EZDATA 조건 평가 동적화
- standard-layout-djb.csv: HEAD ERP 고정값(tx_cmgr_cd=S004, mgmt_brcd/tx_brcd/insl_brcd/blng_brcd=260), 정상 MSG 필드(outp_msg_cd=NCMM00001, outp_msg_ctnt=정상처리되었습니다.) 기본값 추가, msg_list_rowcnt 기본값 00000→0 수정 - StandardMessageCoordinatorDJB: setErpHeadFields() 및 관련 상수 제거, coordinateAfterRecvNonStdSyncResponse 명시적 setData 호출 제거 (CSV 기본값으로 대체), evaluateBlockCondition() 추가로 EZDATA 활성화 조건을 CSV refPath/refValue에서 동적 평가, elfn_spr_fild 설정값을 ezdataItem.getRefValue()로 CSV에서 읽도록 변경 - StandardMessageSpecTest: tx_cmgr_cd가 항상 CSV 기본값으로 설정되므로 비ERP_ERP_HEAD_필드_미설정 테스트 제거 - 작업내역_20260421.md: 리팩터링 내용 반영 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -422,14 +422,6 @@ class StandardMessageSpecTest {
|
||||
assertEquals("ERP", msg.findItemValue("EZDATA.elfn_spr_fild").trim());
|
||||
}
|
||||
|
||||
@Test
|
||||
void 비ERP_ERP_HEAD_필드_미설정() throws Exception {
|
||||
StandardMessage msg = parseReq();
|
||||
coordinator.coordinateAfterCreateMessageByRule(msg, null, null);
|
||||
String txCmgrCd = msg.findItemValue("HEAD.tx_cmgr_cd");
|
||||
assertTrue(txCmgrCd == null || txCmgrCd.trim().isEmpty(),
|
||||
"비ERP 요청에서 tx_cmgr_cd는 설정되면 안 됨");
|
||||
}
|
||||
}
|
||||
|
||||
// ================================================================
|
||||
|
||||
Reference in New Issue
Block a user