Skip to content

Commit

Permalink
DDL,Migration,배치,스크립트 워크명 50자로 변경 및 마이그레이션 관련 스케줄 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
YYura committed May 20, 2024
1 parent cddb12f commit 42b116d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,27 @@ public void agentCall(List<Map<String, Object>> resultWork, ArrayList<String> CM
int PORT =0;

// 스케줄 수정 시 마이그레이션 후 배치 실행 후에 배치 실행안되는 버그로 수정(240516)
// if(!CMD.get(0).equals("DB2PG")) {
for(int i=0; i < resultWork.size(); i++) {
if(CMD.get(i).equals("DB2PG")) {
}else {
IP = (String) resultDbconn.get(0).get("ipadr");

AgentInfoVO vo = new AgentInfoVO();
vo.setIPADR(IP);

AgentInfoVO agentInfo = (AgentInfoVO) cmmnServerInfoService.selectAgentInfo(vo);
PORT = agentInfo.getSOCKET_PORT();
}
}

// if(!CMD.get(0).equals("DB2PG")) {
// IP = (String) resultDbconn.get(0).get("ipadr");
//
// AgentInfoVO vo = new AgentInfoVO();
// vo.setIPADR(IP);
//
// AgentInfoVO agentInfo = (AgentInfoVO) cmmnServerInfoService.selectAgentInfo(vo);
// PORT = agentInfo.getSOCKET_PORT();
// }else {
// }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ function fn_search_tableInfo_mig(){
<spring:message code="common.work_name" />
</label>
<div class="col-sm-8">
<input type="text" class="form-control form-control-sm" maxlength="20" id="db2pg_trsf_wrk_nm" name="db2pg_trsf_wrk_nm" onkeyup="fn_checkWord(this,20)" placeholder="20<spring:message code='message.msg188'/>" onchange="fn_checkWrkNm_change_mig();" onblur="this.value=this.value.trim()"/>
<input type="text" class="form-control form-control-sm" maxlength="50" id="db2pg_trsf_wrk_nm" name="db2pg_trsf_wrk_nm" onkeyup="fn_checkWord(this,50)" placeholder="50<spring:message code='message.msg188'/>" onchange="fn_checkWrkNm_change_mig();" onblur="this.value=this.value.trim()"/>
</div>
<div class="col-sm-2">
<button type="button" id="inset_button_data_work" class="btn btn-inverse-danger btn-fw" style="width: 115px;" onclick="fn_check_ddl_reg()"><spring:message code="common.overlap_check" /></button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ function fn_search_tableInfo(){
<spring:message code="common.work_name" />
</label>
<div class="col-sm-8">
<input type="text" class="form-control form-control-sm" maxlength="20" id="db2pg_ddl_wrk_nm" name="db2pg_ddl_wrk_nm" onkeyup="fn_checkWord(this,20)" placeholder='20<spring:message code='message.msg188'/>' onchange="fn_checkWrkNm_change_ddl();" onblur="this.value=this.value.trim()"/>
<input type="text" class="form-control form-control-sm" maxlength="50" id="db2pg_ddl_wrk_nm" name="db2pg_ddl_wrk_nm" onkeyup="fn_checkWord(this,50)" placeholder='50<spring:message code='message.msg188'/>' onchange="fn_checkWrkNm_change_ddl();" onblur="this.value=this.value.trim()"/>
</div>
<div class="col-sm-2">
<button type="button" class="btn btn-inverse-danger btn-fw" style="width: 115px;" onclick="fn_check_reg()"><spring:message code="common.overlap_check" /></button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ function fn_db2pgAdd(){
<spring:message code="schedule.schedule_name" />
</label>
<div class="col-sm-4">
<input type="text" class="form-control" maxlength="20" id="scd_nm" name="scd_nm" onkeyup="fn_checkWord(this,20)" onblur="this.value=this.value.trim()" placeholder="20<spring:message code='message.msg188'/>" onchange="fn_checkSchNm_change()"/>
<input type="text" class="form-control" maxlength="50" id="scd_nm" name="scd_nm" onkeyup="fn_checkWord(this,50)" onblur="this.value=this.value.trim()" placeholder="50<spring:message code='message.msg188'/>" onchange="fn_checkSchNm_change()"/>
</div>
<div class="col-sm-1_5">
<input class="btn btn-inverse-danger btn-icon-text mdi mdi-lan-connect" style="margin-left:-20px;" type="button" onclick="fn_check();" value='<spring:message code="common.overlap_check" />' />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
</label>

<div class="col-sm-8">
<input type="text" class="form-control" maxlength="20" id="ins_wrk_nm" name="ins_wrk_nm" onkeyup="fn_checkWord(this,20)" placeholder='20<spring:message code='message.msg188'/>' onblur="this.value=this.value.trim()" tabindex=1 required />
<input type="text" class="form-control" maxlength="50" id="ins_wrk_nm" name="ins_wrk_nm" onkeyup="fn_checkWord(this,50)" placeholder='50<spring:message code='message.msg188'/>' onblur="this.value=this.value.trim()" tabindex=1 required />
</div>

<div class="col-sm-2">
Expand Down

0 comments on commit 42b116d

Please sign in to comment.