IIM 연동시 로그 저장
eapim-admin CI / build (push) Waiting to run

This commit is contained in:
eastargh
2026-07-23 10:41:51 +09:00
parent 7a73ef370f
commit 2fddffe29d
5 changed files with 10 additions and 6 deletions
@@ -255,7 +255,7 @@ public interface MonitoringContext {
// 이중 로그인 허용여부 // 이중 로그인 허용여부
public static final String RMS_DUAL_LOGIN_ENABLED = "rms.DUAL_LOGIN_ENABLED"; public static final String RMS_DUAL_LOGIN_ENABLED = "rms.DUAL_LOGIN_ENABLED";
// 자동 로그아웃 타임아웃 (단위: 분, 기본값: 10) // 자동 로그아웃 타임아웃 (단위: 분, 기본값: 60)
public static final String RMS_AUTO_LOGOUT_TIMEOUT = "rms.auto.logout.timeout"; public static final String RMS_AUTO_LOGOUT_TIMEOUT = "rms.auto.logout.timeout";
// 웹훅 // 웹훅
@@ -627,7 +627,7 @@ public class MainController implements InterceptorSkipController {
model.addAttribute("mainPage", mainPage); model.addAttribute("mainPage", mainPage);
model.addAttribute("menuId", menuId); model.addAttribute("menuId", menuId);
model.addAttribute("autoLogoutTimeout", model.addAttribute("autoLogoutTimeout",
monitoringContext.getIntProperty(MonitoringContext.RMS_AUTO_LOGOUT_TIMEOUT, 10)); monitoringContext.getIntProperty(MonitoringContext.RMS_AUTO_LOGOUT_TIMEOUT, 60));
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("CURRENT SERVICE TYPE : " + service); logger.debug("CURRENT SERVICE TYPE : " + service);
@@ -181,6 +181,10 @@ public class LayoutDao extends SqlMapClientTemplateDao {
template.insert("Layout.updateMappingSyncLog", param); template.insert("Layout.updateMappingSyncLog", param);
} }
public void addLayoutSyncLog(HashMap<String, String> param) {
template.insert("Layout.insertLayoutSyncLog", param);
}
// Layout Popup // Layout Popup
public int selectListCountPop(HashMap param) throws Exception { public int selectListCountPop(HashMap param) throws Exception {
return (Integer) template.queryForObject("Layout.selectListCountPop", param); return (Integer) template.queryForObject("Layout.selectListCountPop", param);
@@ -1024,14 +1024,15 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
service.insertLayout(vo, list); //FIXME : 스키마 변경 룰 적용해야 함 service.insertLayout(vo, list); //FIXME : 스키마 변경 룰 적용해야 함
//Djb custom 서버연동 제외 2026.07.22 hjw //Djb custom 서버연동 제외 2026.07.22 jwh
// CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName")); // CommonCommand commonCommand = new CommonCommand("com.eactive.eai.agent.transformer.ReloadLayoutCommand",vo.get("loutName"));
// HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt"); // HashMap<String,String> result = AgentParserUtils.parse(commonCommand, agentUtilService,"prcssRslt","prcssRsltCmnt");
// param.putAll(result); // param.putAll(result);
// service.addLayoutSyncLog(param);
param.put("prcssRslt", "S"); param.put("prcssRslt", "S");
param.put("prcssRsltCmnt", ""); param.put("prcssRsltCmnt", "");
service.addLayoutSyncLog(param);
} }
} }
@@ -49,8 +49,7 @@ public class LayoutSyncService extends OnlBaseService {
} }
public void addLayoutSyncLog(HashMap<String, String> param) throws Exception { public void addLayoutSyncLog(HashMap<String, String> param) throws Exception {
// tr10 table 없음 dao.addLayoutSyncLog(param);
// inboundErrorInfoDao.addLayoutSyncLog(param);
} }
public void insertLayout(HashMap<String,Object> vo, List<HashMap<String,Object>> items) public void insertLayout(HashMap<String,Object> vo, List<HashMap<String,Object>> items)