diff --git a/src/main/java/seed/com/gtm/base/GwBaseController.java b/src/main/java/seed/com/gtm/base/GwBaseController.java index 3ef76cc1..1eaf78e8 100644 --- a/src/main/java/seed/com/gtm/base/GwBaseController.java +++ b/src/main/java/seed/com/gtm/base/GwBaseController.java @@ -18,6 +18,7 @@ import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.ModelAndView; @@ -109,25 +110,21 @@ public class GwBaseController { log.warn(">>>>>>content10<<<<<<"+params.get("content10")); //전달받은 변수값들 decode - try { - this.chgURLDecoder(params, "content1"); - this.chgURLDecoder(params, "content2"); - this.chgURLDecoder(params, "content3"); - this.chgURLDecoder(params, "content4"); - this.chgURLDecoder(params, "content5"); - this.chgURLDecoder(params, "content6"); - this.chgURLDecoder(params, "content7"); - this.chgURLDecoder(params, "content8"); - this.chgURLDecoder(params, "content9"); - this.chgURLDecoder(params, "content10"); - this.chgURLDecoder(params, "content11"); - this.chgURLDecoder(params, "content12"); - this.chgURLDecoder(params, "content13"); - this.chgURLDecoder(params, "content14"); - this.chgURLDecoder(params, "content15"); - }catch(Exception ex) { - ex.printStackTrace(); - } + this.chgURLDecoder(params, "content1"); + this.chgURLDecoder(params, "content2"); + this.chgURLDecoder(params, "content3"); + this.chgURLDecoder(params, "content4"); + this.chgURLDecoder(params, "content5"); + this.chgURLDecoder(params, "content6"); + this.chgURLDecoder(params, "content7"); + this.chgURLDecoder(params, "content8"); + this.chgURLDecoder(params, "content9"); + this.chgURLDecoder(params, "content10"); + this.chgURLDecoder(params, "content11"); + this.chgURLDecoder(params, "content12"); + this.chgURLDecoder(params, "content13"); + this.chgURLDecoder(params, "content14"); + this.chgURLDecoder(params, "content15"); log.warn(">>>>>>content1<<<<<<"+params.get("content1")); log.warn(">>>>>>content2<<<<<<"+params.get("content2")); @@ -280,7 +277,8 @@ public class GwBaseController { || "3-20".equals(s_jobID) //하도급거래 - 0203000000 || "4-20".equals(s_jobID) //대규모유통거래 - 0204000000 || "5-20".equals(s_jobID) //약관거래 - 0205000000 - || "6-20".equals(s_jobID) //대리점거래 - 0206000000 + || "6-20".equals(s_jobID) //대리점거래 - 0206000000 + ) { //사건 신청인 @@ -316,6 +314,85 @@ public class GwBaseController { //본문 생성 params.put("contents", this.gwContents(s_jobID, (EgovMap)params.get("data1"), (List)params.get("caseApplcntData"), (List)params.get("caseRespondentData"))); + + }else if(false + //조정절차 종료사실 통지 + || s_jobID.indexOf("1-14")>-1 //공정거래 - 0201000000 + || "1-15".equals(s_jobID) //공정거래 - 0201000000 + || "1-16".equals(s_jobID) //공정거래 - 0201000000 + || "1-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("1-18")>-1 //공정거래 - 0201000000 + || "1-19".equals(s_jobID) //공정거래 - 0201000000 + + || s_jobID.indexOf("2-14")>-1 //공정거래 - 0201000000 + || "2-15".equals(s_jobID) //공정거래 - 0201000000 + || "2-16".equals(s_jobID) //공정거래 - 0201000000 + || "2-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("2-18")>-1 //공정거래 - 0201000000 + || "2-19".equals(s_jobID) //공정거래 - 0201000000 + + || s_jobID.indexOf("3-14")>-1 //공정거래 - 0201000000 + || "3-15".equals(s_jobID) //공정거래 - 0201000000 + || "3-16".equals(s_jobID) //공정거래 - 0201000000 + || "3-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("3-18")>-1 //공정거래 - 0201000000 + || "3-19".equals(s_jobID) //공정거래 - 0201000000 + + || s_jobID.indexOf("4-14")>-1 //공정거래 - 0201000000 + || "4-15".equals(s_jobID) //공정거래 - 0201000000 + || "4-16".equals(s_jobID) //공정거래 - 0201000000 + || "4-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("4-18")>-1 //공정거래 - 0201000000 + || "4-19".equals(s_jobID) //공정거래 - 0201000000 + + || s_jobID.indexOf("5-14")>-1 //공정거래 - 0201000000 + || "5-15".equals(s_jobID) //공정거래 - 0201000000 + || "5-16".equals(s_jobID) //공정거래 - 0201000000 + || "5-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("5-18")>-1 //공정거래 - 0201000000 + || "5-19".equals(s_jobID) //공정거래 - 0201000000 + + || s_jobID.indexOf("6-14")>-1 //공정거래 - 0201000000 + || "6-15".equals(s_jobID) //공정거래 - 0201000000 + || "6-16".equals(s_jobID) //공정거래 - 0201000000 + || "6-17".equals(s_jobID) //공정거래 - 0201000000 + || s_jobID.indexOf("6-18")>-1 //공정거래 - 0201000000 + || "6-19".equals(s_jobID) //공정거래 - 0201000000) { + ) + { + //사건 신청인 + params.put("sql", "trublprocessmng.selectCaseApplcnt"); + params.put("caseApplcntData", JSPUtil.fixNull(bservice.list(params))); + + //사건 피신청인 + params.put("sql", "trublprocessmng.selectCaseRespondent"); + params.put("caseRespondentData", JSPUtil.fixNull(bservice.list(params))); + + //문서 고유 번호 생성 + params.put("sql", "nanumSanctnhistoryDocID"); //docId + params.put("data2", JSPUtil.fixNull(bservice.select(params))); + params.put("docId", ((EgovMap)params.get("data2")).get("docId").toString()); + + //g/w 상신 문서 생성 + params.put("sql", "nanumSanctnhistoryInsNew"); //사건 정보 + params.put("data", JSPUtil.fixNull(bservice.insert(params))); + + String s_caseApplcntSeqNo = this.getApplcntSeqNo((List)params.get("caseApplcntData")); //신청인 순번 + String s_caseRespondentSeqNo = this.getRespondentSeqNo((List)params.get("caseRespondentData")); //피신청인 순번 + + params.put("applcntNo", s_caseApplcntSeqNo); //신청인 순번 + params.put("respondentNo", s_caseRespondentSeqNo); //피신청인 순번 + + + //사건 주요 정보 + params.put("sql", "nanumMasterSel"); //사건 정보 + params.put("data1", JSPUtil.fixNull(bservice.select(params))); + + //최상단 타이틀 생성 + params.put("title", this.gwTitle(s_jobID, (EgovMap)params.get("data1"))); + + //본문 생성 + params.put("contents", this.gwContentsEnd(s_jobID, (EgovMap)params.get("data1"), (List)params.get("caseApplcntData"), (List)params.get("caseRespondentData"), params)); } } else if("I".equals(type)){ //협의회용 if (false @@ -515,7 +592,7 @@ public class GwBaseController { EgovMap params; try { - request.setCharacterEncoding("UTF-8"); + //request.setCharacterEncoding("UTF-8"); //ModelAndView mav = new ModelAndView(); //ModelAndView mavjson = new ModelAndView(new JSONView()); @@ -662,7 +739,215 @@ public class GwBaseController { } + //GW 콜백처리 + @RequestMapping(value = {"/web/GwCallback4Del.do", "/web/GwCallback"}) + public GwApi GwCallback4Del(HttpServletRequest request, + HttpServletResponse response, + HttpSession session, + //Map map, + @RequestParam Map map + //@RequestBody Map map + ){ + + String v_ret = "0"; + + try { + + System.out.println("request.getParameter(\"processId\")="+map.get("processId")); + System.out.println("request.getParameter(\"approKey\")="+map.get("approKey")); + System.out.println("request.getParameter(\"docId\")="+map.get("docId")); + + //10-임시저장 + //20-상신 + /* + * request.getParameter("processId")=5402000000 + request.getParameter("approKey")=H20241129030909 + request.getParameter("docId")=331 + request.getParameter("docSts")=20 + request.getParameter("userId")=test04 + * */ + System.out.println("request.getParameter(\"docSts\")="+map.get("docSts")); + System.out.println("request.getParameter(\"userId\")="+map.get("userId")); + + System.out.println("request.getParameter(\"approKey\")="+request.getParameter("approKey")); + System.out.println("request.getParameter(\"docId\")="+request.getParameter("docId")); + System.out.println("request.getParameter(\"docSts\")="+request.getParameter("docSts")); + + + Enumeration params1 = request.getParameterNames(); + System.out.println("----------------------------"); + while (params1.hasMoreElements()){ + String name = (String)params1.nextElement(); + System.out.println(name + " : " +request.getParameter(name)); + } + System.out.println("----------------------------"); + + Enumeration params2 = session.getAttributeNames(); + System.out.println("----------------------------"); + while (params2.hasMoreElements()){ + String name = (String)params2.nextElement(); + System.out.println(name + " : " +session.getAttribute(name)); + } + System.out.println("----------------------------"); + + System.out.println("request.getParameter(\"processId\")="+request.getParameter("processId")); + System.out.println("request.getParameter(\"approKey\")="+request.getParameter("approKey")); + System.out.println("request.getParameter(\"docId\")="+request.getParameter("docId")); + System.out.println("request.getParameter(\"docSts\")="+request.getParameter("docSts")); + System.out.println("request.getParameter(\"userId\")="+request.getParameter("userId")); + System.out.println("request.getParameter(\"formId\")="+request.getParameter("formId")); + System.out.println("request.getParameter(\"docTitle\")="+request.getParameter("docTitle")); + + EgovMap params; + + try { + //request.setCharacterEncoding("UTF-8"); + //ModelAndView mav = new ModelAndView(); + //ModelAndView mavjson = new ModelAndView(new JSONView()); + + + + }catch(Exception ex) { + ex.printStackTrace(); + } + + //String tempDir = ApplicationProperty.get("url.referrer"); + params = JSPUtil.makeRequestParams(request, session, true); + + String p_approKey = request.getParameter("approKey"); //하도2024-0540_H20241129030909_undefined + String p_docId = request.getParameter("docId"); + String p_docSts = request.getParameter("docSts"); // $("#callbackFrm #docStsTmp").val(p_type); + String p_caseNo = request.getParameter("caseNo"); // $("#callbackFrm #caseNoTmp").val('manu'); + + List p_caseNoList = null; + + //수동 또는 자동의 전달 체크 + if ("manu".equals(p_caseNo)) { //수동 처리인 경우 manu가 전달 + /* + "P".equals(p_docSts) //상신 + || "A".equals(p_docSts) //승인 + || "D".equals(p_docSts) //삭제 + || "R".equals(p_docSts) //반려 + || "T".equals(p_docSts) //임시저장 + ) { //수동으로 온경우의 파라미터 + */ + + String[] s_Arr = params.get("approKey").toString().split("_"); + System.out.println("p_approKey"); + System.out.println(p_approKey); + System.out.println(params.get("approKey").toString()); + System.out.println(s_Arr[0]); + System.out.println(s_Arr[1]); + params.put("caseNo", s_Arr[0]); //사건 정보 + params.put("docID", s_Arr[1]); //문서 정보 + + + + System.out.println(p_approKey); + System.out.println(p_docId); + System.out.println(p_docSts); + + + }else { //자동으로 g/w에서 전달된 데이터 값 처리 + p_approKey = map.get("approKey").toString(); + params.put("docID", p_approKey); //문서 정보 + + p_docSts = map.get("docSts").toString(); + + if ("10".equals(p_docSts)) { //임시저장(상신취소) + p_docSts = "T"; + }else if ("20".equals(p_docSts)) { //상신 + p_docSts = "P"; + }else if ("90".equals(p_docSts)) { //승인(종결/결재) - 90 + p_docSts = "A"; + }else if ("100".equals(p_docSts)) { //반려 + p_docSts = "R"; + }else if ("999".equals(p_docSts)) { //삭제 + p_docSts = "D"; + } + + //10-임시저장 + //20-상신 + + + + //step1.docSts를 D/P/A 등으로 변경 + //step2.approKey로 사건 리스트를 가져온다. + //params.put("docId", "0400000000"); //사건진행상태 + params.put("sql", "nanumSanctnhistorySelAll"); //사건 정보 + params.put("dataList", JSPUtil.fixNull(bservice.list(params))); + + p_caseNoList = (List)params.get("dataList"); + + } + + + if ("D".equals(p_docSts)) { //수동 전달의 삭제코드 확인 필요-반려 + //수동 삭제는 여기서 해당 데이터를 삭제한다. + params.put("status", "deleted"); //결과값 + + }else if ("P".equals(p_docSts)) { //상신 + params.put("status", "accepted"); //결과값 + + }else if ("A".equals(p_docSts)) { //승인-종결 + params.put("status", "processed"); //결과값 + + }else if ("T".equals(p_docSts)) { //임시저장-상신취소 + params.put("status", "updated"); //결과값 + + }else if ("R".equals(p_docSts)) { //반려 - 데이터 삭제처리한다. + params.put("status", "rejected"); //결과값 + + }else { + params.put("status", p_docSts); //결과값 + } + + if ("manu".equals(p_caseNo)) { //수동 처리인 경우 manu가 전달 + v_ret = this.nanumOld(params, p_caseNo); + }else {//여러 사건 처리 가능 + //step2.사건리스트를 가져완서 for를 돌린다. + for (Object key : p_caseNoList) { + EgovMap n_em = (EgovMap)key; + + params.put( + "caseNo", + n_em.get("caseNo").toString() + ); //사건진행상태 + + v_ret = this.nanumOld(params, p_caseNo); + + } + //params.put("caseNo", s_Arr[0]); //사건 정보 + //v_ret = this.nanumOld(params, p_caseNo); + } + + + + }catch(Exception ex) { + ex.printStackTrace(); + v_ret = "1"; + } + + + + GwApi testApi = new GwApi(); + + if ("1".equals(v_ret)) { //처리 실패한 경우 + testApi.setResultCode("FAIL"); + testApi.setResultMessage("실패하였습니다"); + + //testApi.setResultCode("SUCCESS"); + //testApi.setResultMessage("성공하였습니다"); + }else { + testApi.setResultCode("SUCCESS"); + testApi.setResultMessage("성공하였습니다"); + } + + + return testApi; + + } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //최상단 구분별 타이틀 생성 private String gwTitle(String p_jobID, EgovMap object) { @@ -963,6 +1248,76 @@ public class GwBaseController { return v_ret; } + + private String gwContentsEnd (String p_jobID, + EgovMap p_data1, + List p_caseApplcntData, + List p_caseRespondentData, + EgovMap p_params + ) { + String v_ret=""; + + try { + //수신자 to 제목까지 + if (false + //조정절차 종료사실 통지 + || p_jobID.indexOf("1-14")>-1 //공정거래 - 0201000000 + || "1-15".equals(p_jobID) //공정거래 - 0201000000 + || "1-16".equals(p_jobID) //공정거래 - 0201000000 + || "1-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("1-18")>-1 //공정거래 - 0201000000 + || "1-19".equals(p_jobID) //공정거래 - 0201000000 + + || p_jobID.indexOf("2-14")>-1 //공정거래 - 0201000000 + || "2-15".equals(p_jobID) //공정거래 - 0201000000 + || "2-16".equals(p_jobID) //공정거래 - 0201000000 + || "2-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("2-18")>-1 //공정거래 - 0201000000 + || "2-19".equals(p_jobID) //공정거래 - 0201000000 + + || p_jobID.indexOf("3-14")>-1 //공정거래 - 0201000000 + || "3-15".equals(p_jobID) //공정거래 - 0201000000 + || "3-16".equals(p_jobID) //공정거래 - 0201000000 + || "3-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("3-18")>-1 //공정거래 - 0201000000 + || "3-19".equals(p_jobID) //공정거래 - 0201000000 + + || p_jobID.indexOf("4-14")>-1 //공정거래 - 0201000000 + || "4-15".equals(p_jobID) //공정거래 - 0201000000 + || "4-16".equals(p_jobID) //공정거래 - 0201000000 + || "4-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("4-18")>-1 //공정거래 - 0201000000 + || "4-19".equals(p_jobID) //공정거래 - 0201000000 + + || p_jobID.indexOf("5-14")>-1 //공정거래 - 0201000000 + || "5-15".equals(p_jobID) //공정거래 - 0201000000 + || "5-16".equals(p_jobID) //공정거래 - 0201000000 + || "5-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("5-18")>-1 //공정거래 - 0201000000 + || "5-19".equals(p_jobID) //공정거래 - 0201000000 + + || p_jobID.indexOf("6-14")>-1 //공정거래 - 0201000000 + || "6-15".equals(p_jobID) //공정거래 - 0201000000 + || "6-16".equals(p_jobID) //공정거래 - 0201000000 + || "6-17".equals(p_jobID) //공정거래 - 0201000000 + || p_jobID.indexOf("6-18")>-1 //공정거래 - 0201000000 + || "6-19".equals(p_jobID) //공정거래 - 0201000000) { + ){ //하도급 출석요구 + v_ret = this.makeXBY14to19(p_data1, p_caseApplcntData, p_caseRespondentData, p_jobID, p_params); + + } + + }catch(Exception ex) { + ex.printStackTrace(); + + } + + System.out.println("v_ret-------------------------------------------------------------------"); + System.out.println(v_ret); + + return v_ret; + } + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // 1.정보 조합 @@ -3249,6 +3604,111 @@ v_ret = this.receiverHeader(); return v_ret; } + //STEP6.종료통지 - 조정절차 종료사실 통지 + private String makeXBY14to19( + EgovMap p_data1, + List p_caseApplcntData, + List p_caseRespondentData, + String p_jobID, + EgovMap p_params + ) { + String v_ret = ""; + + try { + v_ret = this.receiverHeader(); + + //수신영역 + { + v_ret = v_ret + "수신자 " + this.makeApplcnt(p_caseApplcntData) + ", " + this.makeRespondent(p_caseRespondentData) + "
"+ + "(경유)
"+ + "제목          조정절차 종료사실 통지("+p_data1.get("caseNo").toString()+" )"; + /* + if (p_cnt>1) { + v_ret = v_ret +"("+Integer.toString(p_cnt)+"차)"; + } + */ + v_ret = v_ret +"
"; + } + + v_ret = v_ret + this.receiverFooter(); + + + //하단본문영역 + v_ret = v_ret + this.bodyHeader(); + + v_ret = v_ret +"사건번호: "+p_data1.get("caseNo").toString(); + v_ret = v_ret +"
"; + v_ret = v_ret +"신 청 인: "+this.makeApplcnt(p_caseApplcntData); + v_ret = v_ret +"
"; + v_ret = v_ret +"피신청인: "+this.makeRespondent(p_caseRespondentData); + + + + //v_ret = v_ret +"

"; + //v_ret = v_ret +"2. 위 분쟁사건의 조정절차 진행을 위하여 "; + if (p_jobID.indexOf("1-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 「독점규제 및 공정거래에 관한 법률」 제77조 제4항의 규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 동 조 제5항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + + }else if (p_jobID.indexOf("2-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 「가맹사업거래의 공정화에 관한 법률」 제23조 제4항의 규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 동 조 제5항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + + }else if (p_jobID.indexOf("3-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 다음과 같이 조정절차를 종료하기로 결정하였고, 「하도급거래 공정화에 관한 법률」 제24조의5 제5항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + + }else if (p_jobID.indexOf("4-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 「대규모유통업에서의 거래 공정화에 관한 법률」 제26조 제5항 제2호의 규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 동 조 제7항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + + }else if (p_jobID.indexOf("5-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 「약관의 규제에 관한 법률」 제27조의2 제4항 제3호 및 관련규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 같은 법 제27조의2 제5항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다. "; + + }else if (p_jobID.indexOf("6-")>-1) { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 「대리점거래의 공정화에 관한 법률」 제20조 제4항의 규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 동 조 제6항의 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + + }else { + v_ret = v_ret +"

1. 우리 협의회"+p_params.get("content6").toString()+"는 위 분쟁사건에 대하여 심의한 결과, 관련 규정에 따라 다음과 같이 조정절차를 종료하기로 결정하였고, 관련 규정에 따라 공정거래위원회에 보고하였음을 알려드립니다."; + } + + /* + * //보완요구2차 + || "1-9".equals(p_jobID) //공정거래 - 0201000000 + || "2-9".equals(p_jobID) //가맹점사업거래 - 0202000000 + || "3-9".equals(p_jobID) //하도급거래 - 0203000000 + || "4-9".equals(p_jobID) //대규모유통거래 - 0204000000 + || "5-9".equals(p_jobID) //약관거래 - 0205000000 + || "6-9".equals(p_jobID) //대리점거래 - 0206000000 + ){ //하도급 보완요구 + */ + + v_ret = v_ret +"

가. 종료유형: "+p_params.get("content4").toString() +"("+p_params.get("content5").toString()+")"; + v_ret = v_ret +"
나. 종료사유: "+p_params.get("content7").toString(); + + v_ret = v_ret +"

2. 종료된 위 분쟁사건에 대하여 신청인이 구체적인 행위사실을 적시하고 관련 증빙자료(우리 협의회의 조정절차 종료사실 통지 포함)를 첨부하여 신고서를 공정거래위원회에 제출하면 공정거래위원회의 신고(또는 민원)처리 절차에 따라 진행됨을 알려드립니다. "; + + v_ret = v_ret + this.TableHeader(); + + String v_txt = "※ ‘20. 9. 22. 업무를 개시한 조정원 가맹종합지원센터는 가맹본부 및 가맹점사업자의 상생협력 및 발전을 위하여 가맹분야 애로·고충상담, 법·정책 교육 등의 서비스를 제공하고 있습니다. 자세한 안내를 원하시면 조정원 누리집(https://kofair.or.kr)을 방문하시거나,(국번없이)1855-1490로 문의하여 주시기 바랍니다."; + + String [] s_arr = {v_txt}; + + v_ret = v_ret + this.makeTrTdL(s_arr); + + v_ret = v_ret + this.TableFooter(); + + //붙임 + v_ret = v_ret +"

붙임: 분쟁조정 사건 처리안내 1부. 끝."; + + v_ret = v_ret + this.bodyFooter(); + + }catch(Exception ex) { + ex.printStackTrace(); + } + + System.out.println("v_ret"); + System.out.println(v_ret); + + + return v_ret; + } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // 2.정보 추출 @@ -3436,7 +3896,11 @@ v_ret = this.receiverHeader(); } private EgovMap chgURLDecoder(EgovMap p_params, String p_content) throws Exception { - p_params.put(p_content, URLDecoder.decode((String)p_params.get(p_content), "UTF-8")); + try { + p_params.put(p_content, URLDecoder.decode((String)p_params.get(p_content), "UTF-8")); + }catch(Exception ex) { + ex.printStackTrace(); + } return p_params; } diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/trublprocessmng/rceptEdit.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/trublprocessmng/rceptEdit.jsp index cbea4bcb..29805f8b 100644 --- a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/trublprocessmng/rceptEdit.jsp +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/trublprocessmng/rceptEdit.jsp @@ -3780,10 +3780,7 @@ function nanumHisDelTmp(p_type){ var codeNo = $("#nanumHisDelSelTmp").val(); //var docId = $("#nanumHisDelSelTmp").val(); - - alert(codeNo); - return false; - + if(codeNo == "" || codeNo == undefined){ alert("상태를 변경할 기안문을 선택해 주세요.(callback 이후 삭제)"); @@ -3812,6 +3809,7 @@ function nanumHisDelTmp(p_type){ var param = jQuery('#callbackFrm').serialize(); url = "/web/GwCallback.do"; + url = "/web/GwCallback4Del.do"; XHR2(url, param, function(r){ //C_SANCTNHISTORY 에 데이터 생성 //alert("해당 기안문 상태가 변경되었습니다."); @@ -4572,6 +4570,7 @@ function authChg(caseAuthId, authYn){ +