@@ -74,6 +74,7 @@ public class LayoutDao extends SqlMapClientTemplateDao {
|
|||||||
entity.setEaibzwkdstcd((String) paramMap.get("eaiBzwkDstcd"));
|
entity.setEaibzwkdstcd((String) paramMap.get("eaiBzwkDstcd"));
|
||||||
entity.setUapplname((String) paramMap.get("uapplName"));
|
entity.setUapplname((String) paramMap.get("uapplName"));
|
||||||
entity.setSysintfacname((String) paramMap.get("sysIntfacName"));
|
entity.setSysintfacname((String) paramMap.get("sysIntfacName"));
|
||||||
|
entity.setEaisevrdstcd((String) paramMap.get("eaiSevrDstcd"));
|
||||||
entity.setUseyn((String) paramMap.get("useYn"));
|
entity.setUseyn((String) paramMap.get("useYn"));
|
||||||
|
|
||||||
layoutService.save(entity);
|
layoutService.save(entity);
|
||||||
|
|||||||
+10
-4
@@ -977,6 +977,8 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
|
|||||||
vo.put("loutName",layoutName);
|
vo.put("loutName",layoutName);
|
||||||
vo.put("loutPtrnName",msgType); // ASCII, EBCDIC, XML
|
vo.put("loutPtrnName",msgType); // ASCII, EBCDIC, XML
|
||||||
vo.put("loutDesc",layout.get("desc"));
|
vo.put("loutDesc",layout.get("desc"));
|
||||||
|
vo.put("eaiSevrDstcd", "A");
|
||||||
|
vo.put("useYn", "1");
|
||||||
|
|
||||||
String date = (String) layout.get("date");
|
String date = (String) layout.get("date");
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
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 : 스키마 변경 룰 적용해야 함
|
service.insertLayout(vo, list); //FIXME : 스키마 변경 룰 적용해야 함
|
||||||
|
|
||||||
CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName"));
|
//Djb custom 서버연동 제외 2026.07.22 hjw
|
||||||
HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt");
|
// CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName"));
|
||||||
param.putAll(result);
|
// HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt");
|
||||||
service.addLayoutSyncLog(param);
|
// param.putAll(result);
|
||||||
|
// service.addLayoutSyncLog(param);
|
||||||
|
|
||||||
|
param.put("prcssRslt", "S");
|
||||||
|
param.put("prcssRsltCmnt", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user