diff --git a/src/main/java/seed/com/gtm/dao/ExamBoardDao.java b/src/main/java/seed/com/gtm/dao/ExamBoardDao.java new file mode 100644 index 00000000..ec52e950 --- /dev/null +++ b/src/main/java/seed/com/gtm/dao/ExamBoardDao.java @@ -0,0 +1,15 @@ +package seed.com.gtm.dao; + +import java.util.List; +import java.util.Map; + +public interface ExamBoardDao { + public void boardInsert(Map paramMap); + public List> boardList(Map paramMap); + public int boardListCnt(Map paramMap); + public Map boardView(Map paramMap); + public void boardDel(Map paramMap); + public void boardUpdate(Map paramMap); + public int boardNo(Map paramMap); + public void cntUpdate(Map paramMap); +} diff --git a/src/main/java/seed/com/gtm/dao/ExamBoardDaoImpl.java b/src/main/java/seed/com/gtm/dao/ExamBoardDaoImpl.java new file mode 100644 index 00000000..dc47f601 --- /dev/null +++ b/src/main/java/seed/com/gtm/dao/ExamBoardDaoImpl.java @@ -0,0 +1,58 @@ +package seed.com.gtm.dao; + +import java.util.List; +import java.util.Map; + +import org.apache.ibatis.session.SqlSession; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + +@Repository +public class ExamBoardDaoImpl implements ExamBoardDao { + + @Autowired + private SqlSession sqlSession; + + @Override + public void boardInsert(Map paramMap) { + sqlSession.insert("exam.insert", paramMap); + } + + @Override + public List> boardList(Map paramMap) { + return sqlSession.selectList("exam.select", paramMap); + } + + @Override + public int boardListCnt(Map paramMap) { + return sqlSession.selectOne("exam.selectCnt", paramMap); + } + + @Override + public Map boardView(Map paramMap) { + return sqlSession.selectOne("exam.selectOne", paramMap); + } + + @Override + public void boardDel(Map paramMap) { + sqlSession.update("exam.delete", paramMap); + } + + @Override + public void boardUpdate(Map paramMap) { + sqlSession.update("exam.update", paramMap); + } + + @Override + public int boardNo(Map paramMap) { + return sqlSession.selectOne("exam.selectNo", paramMap); + } + + @Override + public void cntUpdate(Map paramMap) { + sqlSession.update("exam.cntUpdate", paramMap); + } + + + +} diff --git a/src/main/java/seed/com/gtm/exam/ExamBoardController.java b/src/main/java/seed/com/gtm/exam/ExamBoardController.java new file mode 100644 index 00000000..bb462de5 --- /dev/null +++ b/src/main/java/seed/com/gtm/exam/ExamBoardController.java @@ -0,0 +1,185 @@ +package seed.com.gtm.exam; + +import java.util.List; +import java.util.Map; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RequestParam; + +import seed.com.gtm.seedfile.SeedFileService; +import seed.com.gtm.util.PageMaker; +import seed.com.gtm.util.SeedCriteria; +import seed.utils.SeedDbUtilsSupport; + +@Controller +@RequestMapping("/gtm/case") +public class ExamBoardController { + @Autowired + private ExamBoardService service; + + @Autowired + private SeedFileService fileService; + + public void setSessionMessageRemove(HttpSession session){ + session.removeAttribute("url"); + session.removeAttribute("message"); + session.removeAttribute("opener"); + session.removeAttribute("append"); + session.removeAttribute("self"); + } + + @RequestMapping(value="/exam/{boardIdx}/write.do", method=RequestMethod.GET) + public String examWrite(ModelMap model, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx){ + + model.addAttribute("boardIdx", boardIdx); + return "/seed/_extra/gtm/exam/write"; + } + + @RequestMapping(value="/exam/{boardIdx}/write.do", method=RequestMethod.POST) + public String examWrite(HttpServletRequest request ,HttpSession session, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx, Map map){ + + paramMap.put("memberName", session.getAttribute("memberName")); + paramMap.put("memberId", session.getAttribute("memberId")); + paramMap.put("boardIdx", boardIdx); + /*paramMap.put("mediationBigType", boardIdx); + paramMap.put("mediationSmallType", boardIdx); + paramMap.put("examType", boardIdx);*/ + service.boardInsert(paramMap); + + //현제 등록된 게시글의 시퀀스 불러와 맵에 저장 + paramMap.put("dataIdx", paramMap.get("seq")); + fileService.fileInsert(paramMap, request, session); + + map.put("message", "common.message.reg"); + map.put("url", "/gtm/case/exam/"+boardIdx+"/list.do"); + + return "/seed/_common/jsp/message"; + } + + @RequestMapping("exam/{boardIdx}/list.do") + public String examList(ModelMap model, HttpSession session, SeedCriteria cri,@RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx){ + + //로그인페이지로 튕겨나가지 않게 우선은 임시방편 + session.setAttribute("siteIdx", "case"); + + String menuName = ""; + if(boardIdx.equals("402")){ + menuName = "공정거래"; + }else if(boardIdx.equals("403")){ + menuName = "가맹사업거래"; + }else if(boardIdx.equals("404")){ + menuName = "하도급거래"; + }else if(boardIdx.equals("405")){ + menuName = "대규모유통업거래"; + }else if(boardIdx.equals("406")){ + menuName = "불공정약관"; + }else if(boardIdx.equals("407")){ + menuName = "대리점거래"; + } + session.setAttribute("menuName", menuName); + + //페이징 관련 + paramMap.put("pageStart", cri.getPageStart()); + paramMap.put("perPageNum", cri.getPerPageNum()); + paramMap.put("boardIdx", boardIdx); + + List> bbsList = service.boardList(paramMap); + + PageMaker pageMaker = new PageMaker(); + pageMaker.setCri(cri); + pageMaker.setTotalCount(service.boardListCnt(paramMap)); + + model.addAttribute("boardIdx", boardIdx); + model.addAttribute("bbsList", bbsList); + model.addAttribute("pageMaker", pageMaker); + + return "/seed/_extra/gtm/exam/list"; + } + + @RequestMapping("exam/{boardIdx}/view.do") + public String examView(ModelMap model, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx){ + + SeedDbUtilsSupport seeDbUtilsSupport = new SeedDbUtilsSupport(); + + paramMap.put("dataIdx", paramMap.get("examNo")); + + Map bbsInfoView = service.boardView(paramMap); + bbsInfoView.put("EXAM_CONT", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT"))); + bbsInfoView.put("EXAM_CONT2", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT2"))); + bbsInfoView.put("EXAM_CONT3", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT3"))); + bbsInfoView.put("EXAM_CONT4", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT4"))); + + model.addAttribute("bbsView", bbsInfoView); + model.addAttribute("boardIdx", boardIdx); + model.addAttribute("fileList", fileService.fileList(paramMap)); + + return "/seed/_extra/gtm/exam/view"; + } + + @RequestMapping("exam/{boardIdx}/bbsDel.do") + public String examDel(HttpSession session, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx, Map map){ + paramMap.put("dataIdx", paramMap.get("examNo")); + service.boardDel(paramMap); + fileService.fileDelAll(paramMap); + this.setSessionMessageRemove(session); + + map.put("message", "common.message.del"); + map.put("url", "/gtm/case/exam/"+boardIdx+"/list.do?searchType=" + paramMap.get("searchType") + + "&searchTilte=" + paramMap.get("searchTilte") + "&page=" + paramMap.get("page") + ); + + return "/seed/_common/jsp/message"; + } + + @RequestMapping(value="/exam/{boardIdx}/edit.do", method=RequestMethod.GET) + public String examEdit(ModelMap model, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx){ + + SeedDbUtilsSupport seeDbUtilsSupport = new SeedDbUtilsSupport(); + + paramMap.put("dataIdx", paramMap.get("examNo")); + + Map bbsInfoView = service.boardView(paramMap); + bbsInfoView.put("EXAM_CONT", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT"))); + bbsInfoView.put("EXAM_CONT2", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT2"))); + bbsInfoView.put("EXAM_CONT3", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT3"))); + bbsInfoView.put("EXAM_CONT4", seeDbUtilsSupport.clobToString(bbsInfoView.get("EXAM_CONT4"))); + + List> fileList = fileService.fileList(paramMap); + + model.addAttribute("bbsView", bbsInfoView); + model.addAttribute("boardIdx", boardIdx); + model.addAttribute("fileList", fileList); + model.addAttribute("fileListSize", fileList.size()); + + return "/seed/_extra/gtm/exam/edit"; + } + + @RequestMapping(value="/exam/{boardIdx}/edit.do", method=RequestMethod.POST) + public String examEdit(HttpSession session, HttpServletRequest request, @RequestParam Map paramMap, @PathVariable(value="boardIdx") String boardIdx, Map map){ + paramMap.put("memberId", session.getAttribute("memberId")); + paramMap.put("dataIdx", paramMap.get("examNo"));//fileInsert에서 필요 + + service.boardUpdate(paramMap); + fileService.fileInsert(paramMap, request, session); + fileService.fileDel(paramMap); + + + this.setSessionMessageRemove(session); + map.put("message", "common.message.mod"); + map.put("url", "/gtm/case/exam/"+boardIdx+"/view.do?examNo=" + paramMap.get("examNo") + + "&searchType=" + paramMap.get("searchType") + "&searchTilte=" + paramMap.get("searchTilte") + "&page=" + paramMap.get("page")+ + "&fileFuncType=" + paramMap.get("fileFuncType") + ); + + return "/seed/_common/jsp/message"; + } + +} diff --git a/src/main/java/seed/com/gtm/exam/ExamBoardService.java b/src/main/java/seed/com/gtm/exam/ExamBoardService.java new file mode 100644 index 00000000..016f3e1f --- /dev/null +++ b/src/main/java/seed/com/gtm/exam/ExamBoardService.java @@ -0,0 +1,48 @@ +package seed.com.gtm.exam; + +import java.util.List; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import seed.com.gtm.dao.ExamBoardDao; + +@Service +public class ExamBoardService { + + @Autowired + private ExamBoardDao dao; + + public void boardInsert(Map paramMap){ + dao.boardInsert(paramMap); + } + + public List> boardList(Map paramMap){ + return dao.boardList(paramMap); + } + + public int boardListCnt(Map paramMap){ + return dao.boardListCnt(paramMap); + } + + public Map boardView(Map paramMap){ + return dao.boardView(paramMap); + } + + public void boardDel(Map paramMap){ + dao.boardDel(paramMap); + } + + public void boardUpdate(Map paramMap){ + dao.boardUpdate(paramMap); + } + + public int boardNo(Map paramMap){ + return dao.boardNo(paramMap); + } + + public void cntUpdate(Map paramMap){ + dao.cntUpdate(paramMap); + } +} diff --git a/src/main/java/seed/utils/SeedDbUtilsSupport.java b/src/main/java/seed/utils/SeedDbUtilsSupport.java new file mode 100644 index 00000000..344af6ae --- /dev/null +++ b/src/main/java/seed/utils/SeedDbUtilsSupport.java @@ -0,0 +1,196 @@ +package seed.utils; + +import java.io.IOException; +import java.io.Reader; +import java.math.BigDecimal; +import java.sql.SQLException; + +import org.apache.log4j.Logger; + +import com.tmax.tibero.jdbc.TbNClob; + +import oracle.sql.CLOB; + +public class SeedDbUtilsSupport { + + private Logger log = Logger.getLogger(this.getClass()); + + public String sqlQueryPagingProcess(String strSql, int page, int row){ + SeedProperties seedProperties = new SeedProperties(); + String dbType = seedProperties.getConfigValue("database").toUpperCase(); + //String dbVersion = seedProperties.getConfigValue("database.version").toUpperCase(); + int firstPage = (page - 1) * row; + + if(strSql!=null && !"".equals(strSql)){ + if(dbType.equals("ORACLE") || dbType.equals("CUBRID")){ + strSql = " SELECT * FROM " + + " ( " + + " SELECT ROW_.*, ROWNUM AS RNUM FROM " + + " ( " + strSql + " ) ROW_" + + " ) " + + " WHERE RNUM > " + firstPage + " AND ROWNUM <= " + row; + }else if(dbType.equals("MSSQL")){ + String strOrder = strSql.substring(strSql.lastIndexOf("ORDER BY")+8); + strSql = " SELECT TOP " + row + " * FROM " + + " ( " + + " SELECT ROW_.*, ROW_NUMBER() OVER(ORDER BY " + strOrder + + " ) AS RNUM " + + " FROM (" + strSql.substring(0, strSql.lastIndexOf("ORDER BY")) + ") AS ROW_ ) AS ROW1_ " + + " WHERE RNUM > " + firstPage; + + }else if(dbType.equals("MYSQL")){ + strSql = strSql + " LIMIT " + firstPage + " , " + row; + }else if(dbType.equals("DB2")) { + strSql = " SELECT * FROM " + + " ( " + + " SELECT ROW_.*, ROWNUM AS RNUM " + + " FROM (" + strSql + ") ROW_ " + + " ) " + + " WHERE RNUM > " + firstPage + + " AND ROWNUM <= " + row; + } + } + + return strSql; + } + + public String sqlQueryPagingProcess(String strSql, int page, int row, String dbType){ + int firstPage = (page - 1) * row; + + if(strSql!=null && !"".equals(strSql)){ + if(dbType.equals("ORACLE") || dbType.equals("CUBRID")){ + strSql = " SELECT * FROM " + + " ( " + + " SELECT ROW_.*, ROWNUM AS RNUM FROM " + + " ( " + strSql + " ) ROW_" + + " ) " + + " WHERE RNUM > " + firstPage + " AND ROWNUM <= " + row; + }else if(dbType.equals("MSSQL")){ + String strOrder = strSql.substring(strSql.lastIndexOf("ORDER BY")+8); + strSql = " SELECT TOP " + row + " * FROM " + + " ( " + + " SELECT ROW_.*, ROW_NUMBER() OVER(ORDER BY " + strOrder + + " ) AS RNUM " + + " FROM (" + strSql.substring(0, strSql.lastIndexOf("ORDER BY")) + ") AS ROW_ ) AS ROW1_ " + + " WHERE RNUM > " + firstPage; + + }else if(dbType.equals("MYSQL")){ + strSql = strSql + " LIMIT " + firstPage + " , " + row; + }else if(dbType.equals("DB2")) { + strSql = " SELECT * FROM " + + " ( " + + " SELECT ROW_.*, ROWNUM AS RNUM " + + " FROM (" + strSql + ") ROW_ " + + " ) " + + " WHERE RNUM > " + firstPage + + " AND ROWNUM <= " + row; + } + } + + return strSql; + } + + public String clobToString(Object convertData){ + if(convertData!=null){ + + CLOB clobData = (CLOB)convertData; + StringBuffer returnStr = new StringBuffer(); + try { + Reader reader = clobData.getCharacterStream(); + char[] buff = new char[1024]; + int nchars = 0; + while ((nchars = reader.read(buff)) > 0) { + returnStr.append(buff, 0, nchars); + } + }catch (SQLException e) { + log.error("CHECK ERROR:",e); + }catch (IOException e) { + log.error("CHECK ERROR:",e); + } + return returnStr.toString(); + }else{ + return ""; + } + } + + public String tbNclobToString(Object convertData){ + if(convertData!=null){ + + TbNClob clobData = (TbNClob)convertData; + StringBuffer returnStr = new StringBuffer(); + try { + Reader reader = clobData.getCharacterStream(); + char[] buff = new char[1024]; + int nchars = 0; + while ((nchars = reader.read(buff)) > 0) { + returnStr.append(buff, 0, nchars); + } + }catch (SQLException e) { + log.error("CHECK ERROR:",e); + }catch (IOException e) { + log.error("CHECK ERROR:",e); + } + return returnStr.toString(); + }else{ + return ""; + } + } + + public String dbMoveClobToString(Object convertData, String dbType){ + if(convertData!=null){ + + if(dbType.equals("ORACLE")){ + CLOB clobData = (CLOB)convertData; + StringBuffer returnStr = new StringBuffer(); + try { + Reader reader = clobData.getCharacterStream(); + char[] buff = new char[1024]; + int nchars = 0; + while ((nchars = reader.read(buff)) > 0) { + returnStr.append(buff, 0, nchars); + } + }catch (SQLException e) { + log.error("CHECK ERROR:",e); + }catch (IOException e) { + log.error("CHECK ERROR:",e); + } + return returnStr.toString(); + }else if(dbType.equals("TIBERO")){ + TbNClob clobData = (TbNClob)convertData; + StringBuffer returnStr = new StringBuffer(); + try { + Reader reader = clobData.getCharacterStream(); + char[] buff = new char[1024]; + int nchars = 0; + while ((nchars = reader.read(buff)) > 0) { + returnStr.append(buff, 0, nchars); + } + }catch (SQLException e) { + log.error("CHECK ERROR:",e); + }catch (IOException e) { + log.error("CHECK ERROR:",e); + }catch (Exception e) { + log.error("CHECK ERROR:",e); + } + return returnStr.toString(); + }else{ + return ""; + } + }else{ + return ""; + } + } + + public int countDataToInt(Object countData){ + SeedProperties seedProperties = new SeedProperties(); + String dbType = seedProperties.getConfigValue("database").toUpperCase(); + if(countData!=null){ + if(dbType.equals("ORACLE")){ + return ((BigDecimal)countData).intValue(); + }else if(dbType.equals("MSSQL") || dbType.equals("MYSQL") || dbType.equals("CUBRID")){ + return SeedUtils.safeLongToInt((Long)countData); + } + } + return 0; + } +} diff --git a/src/main/resources/egovframework/sqlmap/config/mappers/exam/exam_sql.xml b/src/main/resources/egovframework/sqlmap/config/mappers/exam/exam_sql.xml new file mode 100644 index 00000000..2aa50540 --- /dev/null +++ b/src/main/resources/egovframework/sqlmap/config/mappers/exam/exam_sql.xml @@ -0,0 +1,181 @@ + + + + + + + select SEQ_EXAMBBS.NEXTVAL FROM DUAL + + INSERT INTO C_EXAMBBS( + EXAM_NO, + EXAM_ID, + EXAM_SUBJ, + EXAM_CONT, + EXAM_CONT2, + EXAM_CONT3, + EXAM_CONT4, + EXAM_CNT, + EXAM_REGMEM_ID, + EXAM_REGMEM_NM, + EXAM_REGDATE, + EXAM_MODMEM_ID, + EXAM_MODDATE, + DEL_YN, + EXAM_TYPE, + EXAM_RESULT1, + EXAM_RESULT2 + ) VALUES ( + ${seq}, + #{boardIdx}, + #{examSubj}, + #{editorParam_examCont}, + #{editorParam_examCont2}, + #{editorParam_examCont3}, + #{editorParam_examCont4}, + 0, + #{memberId}, + #{memberName}, + SYSDATE, + #{memberId}, + SYSDATE, + 'N', + #{examType}, + #{medBig2}, + #{medSmall2} + + ) + + + + + + + + + + UPDATE C_EXAMBBS + SET EXAM_SUBJ = #{examSubj}, + EXAM_CONT = #{editorParam_examCont}, + EXAM_CONT2 = #{editorParam_examCont2}, + EXAM_CONT3 = #{editorParam_examCont3}, + EXAM_CONT4 = #{editorParam_examCont4}, + EXAM_MODMEM_ID = #{memberId}, + EXAM_MODDATE = SYSDATE, + EXAM_TYPE = #{examType}, + EXAM_RESULT1 = #{medBig2}, + EXAM_RESULT2 = #{medSmall2} + WHERE EXAM_NO = #{examNo} + + + + UPDATE C_EXAMBBS + SET DEL_YN = 'Y' + WHERE EXAM_NO = #{examNo} + + + + + + UPDATE C_EXAMBBS + SET EXAM_CNT = EXAM_CNT+1 + WHERE EXAM_NO = #{examNo} + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/edit.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/edit.jsp new file mode 100644 index 00000000..39f03b4a --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/edit.jsp @@ -0,0 +1,259 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> + + + +정보 관리 + + + + + + + + + +
+
+

분쟁조정 사례(${menuName})

+
+ +
+

분쟁조정 사례(${menuName})를 수정 할 수 있는 페이지 입니다.

+
+
+
+
+ + + + + + + + + + + + +
+
+
+

제목

+
+ +
+
+
+

작성자

+
+ ${memberName} +
+
+
+

첨부자료

+
+
+ +
+
    + +
  • + gif  ${list.EXTRA_FILE_NAME} + 삭제 + +
  • +
    +
+ + + +
+
+ +
+

사건 유형 및 분류 선택

+
+ + + / + + + + + +
+
+ +
+

사건의 개요

+
+ +
+
+
+

분쟁사실 및 당사자 주장

+
+ +
+
+
+

검토

+
+ +
+
+
+

조정결과

+
+ +
+
+
+ +
+ + 목록 +
+
+
+ +
+ +
+ +
+
+
+ + + +
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/list.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/list.jsp new file mode 100644 index 00000000..15284621 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/list.jsp @@ -0,0 +1,159 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> + + + +정보 관리 + + + + + + + + + +
+
+

분쟁조정 사례(${menuName})

+
+ +
+

분쟁조정 사례(${menuName})에 대한 목록 화면 입니다.

+
+
+
+
+
+ + + +
+ + + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +<%-- + --%> + + + + +
분쟁조정 사례 테이블입니다.
번호유형제목대분류조회수
${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}${list.EXAM_TYPE}${list.EXAM_SUBJ}${list.EXAM_RESULT1}${list.EXAM_RESULT2}${list.EXAM_CNT}
+
+ +
+
+ +
+
+
+ + +
+
+ + + + + +
+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/view.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/view.jsp new file mode 100644 index 00000000..c9faddea --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/view.jsp @@ -0,0 +1,142 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> + + + +정보 관리 + + + + + + + + + +
+
+

분쟁조정 사례(${menuName})

+
+ +
+

분쟁조정 사례(${menuName}) 상세 페이지 입니다.

+
+
+
+
+ +
+
+

제목

+
+ ${bbsView.EXAM_SUBJ} +
+
+
+

작성자

+
+ ${bbsView.EXAM_REGMEM_NM} +
+
+
+

작성일

+
+ ${bbsView.EXAM_REGDATE} +
+
+
+

조회수

+
+ ${bbsView.EXAM_CNT} +
+
+
+

사건 유형

+
+ ${bbsView.EXAM_TYPE} +
+
+
+

결과 대분류

+
+ ${bbsView.EXAM_RESULT1}<%-- / ${bbsView.EXAM_RESULT2} --%> +
+
+
+

첨부자료

+
+ + + +
+
+ +
+

사건의 개요

+
+<%-- ${bbsView.EXAM_CONT} --%> + +
+ +
+
+

분쟁사실 및 당사자 주장

+
+<%-- ${bbsView.EXAM_CONT} --%> + +
+ +
+
+

검토

+
+<%-- ${bbsView.EXAM_CONT} --%> + +
+ +
+
+

조정결과

+
+<%-- ${bbsView.EXAM_CONT} --%> + +
+ +
+
+
+ + + 목록 +
+
+ + + + + +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/write.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/write.jsp new file mode 100644 index 00000000..87c39935 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/exam/write.jsp @@ -0,0 +1,234 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> + + + +정보 관리 + + + + + + + + +
+
+

분쟁조정 사례(${menuName})

+
+ +
+

분쟁조정 사례(${menuName})를 작성 할 수 있는 페이지 입니다.

+
+
+
+
+ + + + + <%-- --%> + + +
+
+
+

제목

+
+ +
+
+
+

작성자

+
+ ${memberName} +
+
+
+

첨부자료

+
+
+ +
+
    + +
+ + + +
+
+
+

사건 유형 및 분류 선택

+
+ + + / + + + +
+
+
+

사건의 개요

+
+ +
+
+
+

분쟁사실 및 당사자 주장

+
+ +
+
+
+

검토

+
+ +
+
+
+

조정결과

+
+ +
+
+
+ + + +
+ + 목록 +
+
+
+ +
+ +
+ +
+
+
+ + + + +
+ <%-- + + --%> + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/lib/tibero-jdbc-5.0.jar b/src/main/webapp/WEB-INF/lib/tibero-jdbc-5.0.jar new file mode 100644 index 00000000..213485c3 Binary files /dev/null and b/src/main/webapp/WEB-INF/lib/tibero-jdbc-5.0.jar differ