iim연동시 기본값 추가 & 서버연동 제거
eapim-admin CI / build (push) Waiting to run

This commit is contained in:
eastargh
2026-07-22 15:52:36 +09:00
parent a13c8f154f
commit c9be6069ae
2 changed files with 11 additions and 4 deletions
@@ -74,6 +74,7 @@ public class LayoutDao extends SqlMapClientTemplateDao {
entity.setEaibzwkdstcd((String) paramMap.get("eaiBzwkDstcd"));
entity.setUapplname((String) paramMap.get("uapplName"));
entity.setSysintfacname((String) paramMap.get("sysIntfacName"));
entity.setEaisevrdstcd((String) paramMap.get("eaiSevrDstcd"));
entity.setUseyn((String) paramMap.get("useYn"));
layoutService.save(entity);
@@ -977,6 +977,8 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
vo.put("loutName",layoutName);
vo.put("loutPtrnName",msgType); // ASCII, EBCDIC, XML
vo.put("loutDesc",layout.get("desc"));
vo.put("eaiSevrDstcd", "A");
vo.put("useYn", "1");
String date = (String) layout.get("date");
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@@ -1022,10 +1024,14 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
service.insertLayout(vo, list); //FIXME : 스키마 변경 룰 적용해야 함
CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName"));
HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt");
param.putAll(result);
service.addLayoutSyncLog(param);
//Djb custom 서버연동 제외 2026.07.22 hjw
// CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName"));
// HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt");
// param.putAll(result);
// service.addLayoutSyncLog(param);
param.put("prcssRslt", "S");
param.put("prcssRsltCmnt", "");
}
}