feat:의견 등록 - 기일조서, 조정권고안, 조정조서, 직권조정결정서 완료
This commit is contained in:
parent
f65ca13a3e
commit
98ca10151e
@ -17,7 +17,7 @@ public class CmntVO implements Serializable {
|
|||||||
private String lastUpdtPnttm;/* 수정일시 */
|
private String lastUpdtPnttm;/* 수정일시 */
|
||||||
private String lastUpdtDay; /* 최종변경일 */
|
private String lastUpdtDay; /* 최종변경일 */
|
||||||
private String lastUpdusrId; /* 수정자 */
|
private String lastUpdusrId; /* 수정자 */
|
||||||
private String deleteYn; /* 삭제여부 */
|
private String useYn; /* 삭제여부 */
|
||||||
private String closeDocTy; // 종결문서구분 40 조정조서, 50 취하종결통보서, 60 직권조정결정서, 30 조정권고안, 70 불성립종결통보서
|
private String closeDocTy; // 종결문서구분 40 조정조서, 50 취하종결통보서, 60 직권조정결정서, 30 조정권고안, 70 불성립종결통보서
|
||||||
|
|
||||||
public String getCloseDocTy() {
|
public String getCloseDocTy() {
|
||||||
@ -104,12 +104,12 @@ public class CmntVO implements Serializable {
|
|||||||
public void setLastUpdusrId(String lastUpdusrId) {
|
public void setLastUpdusrId(String lastUpdusrId) {
|
||||||
this.lastUpdusrId = lastUpdusrId;
|
this.lastUpdusrId = lastUpdusrId;
|
||||||
}
|
}
|
||||||
public String getDeleteYn() {
|
public String getUseYn() {
|
||||||
return deleteYn;
|
return useYn;
|
||||||
}
|
}
|
||||||
public void setDeleteYn(String deleteYn) {
|
public void setUseYn(String useYn) {
|
||||||
this.deleteYn = deleteYn;
|
this.useYn = useYn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -26,5 +26,7 @@ public interface ExmpAppManageService {
|
|||||||
|
|
||||||
RestResponse existsExmpManagerDataCheck(ExmpManageVO exmpManageVO);
|
RestResponse existsExmpManagerDataCheck(ExmpManageVO exmpManageVO);
|
||||||
|
|
||||||
|
void adjstOpinionDelect(ExmpManageVO exmpManageVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -63,5 +63,9 @@ public class ExmpAppManageDAO extends EgovAbstractDAO {
|
|||||||
return (int) select("ExmpAppManageDAO.existsExmpManagerDataCheck", exmpManageVO);
|
return (int) select("ExmpAppManageDAO.existsExmpManagerDataCheck", exmpManageVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void adjstOpinionDelect(ExmpManageVO exmpManageVO) {
|
||||||
|
update("ExmpAppManageDAO.adjstOpinionDelect", exmpManageVO);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -84,6 +84,7 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
|
exmpManageVO.setExmpMgrId(idgenExmpMrgService.getNextStringId());
|
||||||
|
exmpManageVO.setUseYn("Y");
|
||||||
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
||||||
// for(ExmpManageVO model : exmpManageVO.getExmpList()){
|
// for(ExmpManageVO model : exmpManageVO.getExmpList()){
|
||||||
// model.setExmpMgrId(exmpManageVO.getExmpMgrId());
|
// model.setExmpMgrId(exmpManageVO.getExmpMgrId());
|
||||||
@ -124,4 +125,9 @@ public class ExmpAppManageServiceImpl implements ExmpAppManageService {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void adjstOpinionDelect(ExmpManageVO exmpManageVO) {
|
||||||
|
exmpAppManageDAO.adjstOpinionDelect(exmpManageVO);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -68,6 +68,8 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
|
|
||||||
private String atchFileId;
|
private String atchFileId;
|
||||||
|
|
||||||
|
private String useYn;
|
||||||
|
|
||||||
public List<ExmpManageVO> getExmpList() {
|
public List<ExmpManageVO> getExmpList() {
|
||||||
return exmpList;
|
return exmpList;
|
||||||
}
|
}
|
||||||
@ -156,6 +158,14 @@ public class ExmpManageVO extends ConciliatorManageVO {
|
|||||||
this.atchFileId = atchFileId;
|
this.atchFileId = atchFileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getUseYn() {
|
||||||
|
return useYn;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUseYn(String useYn) {
|
||||||
|
this.useYn = useYn;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.ModelAttribute;
|
|||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
|
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
|
||||||
|
|
||||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
||||||
@ -55,6 +56,19 @@ public class AdjstOpinionController {
|
|||||||
// return ResponseEntity.ok().body(adjstOpinionService.adjstFindByOpinion(adjstOpinionVO));
|
// return ResponseEntity.ok().body(adjstOpinionService.adjstFindByOpinion(adjstOpinionVO));
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionDelect.do")
|
||||||
|
public String adjstOpinionDelect(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, RedirectAttributes re) throws Exception
|
||||||
|
{
|
||||||
|
|
||||||
|
exmpAppManageService.adjstOpinionDelect(exmpManageVO);
|
||||||
|
|
||||||
|
re.addAttribute("searchCondition", exmpManageVO.getSearchCondition());
|
||||||
|
re.addAttribute("searchKeyword", exmpManageVO.getSearchKeyword());
|
||||||
|
re.addAttribute("pageIndex", exmpManageVO.getPageIndex());
|
||||||
|
return "redirect:/web/kccadr/adjcclt/ai/adjstOpinionList.do";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionList.do")
|
@RequestMapping("/web/kccadr/adjcclt/ai/adjstOpinionList.do")
|
||||||
public String adjstOpinionList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception
|
public String adjstOpinionList(@ModelAttribute("exmpManageVO") ExmpManageVO exmpManageVO, ModelMap model) throws Exception
|
||||||
{
|
{
|
||||||
@ -70,8 +84,6 @@ public class AdjstOpinionController {
|
|||||||
// exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
// exmpManageVO.setSearchSortCnd("T1.Exmp_CC_TY");
|
||||||
// exmpManageVO.setSearchSortOrd("asc");
|
// exmpManageVO.setSearchSortOrd("asc");
|
||||||
}
|
}
|
||||||
System.out.println("exmpManageVO.getSearchCondition() :: "+exmpManageVO.getSearchCondition());
|
|
||||||
|
|
||||||
/** paging */
|
/** paging */
|
||||||
PaginationInfo paginationInfo = new PaginationInfo();
|
PaginationInfo paginationInfo = new PaginationInfo();
|
||||||
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
|
paginationInfo.setCurrentPageNo(exmpManageVO.getPageIndex());
|
||||||
|
|||||||
@ -73,4 +73,6 @@ public interface AdjstConciliatorService {
|
|||||||
|
|
||||||
void insertEndAdrPdfConversionReq(AdjstConciliatorVO adjstConciliatorVO) throws Exception;
|
void insertEndAdrPdfConversionReq(AdjstConciliatorVO adjstConciliatorVO) throws Exception;
|
||||||
|
|
||||||
|
void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -152,4 +152,8 @@ public class AdjstConciliatorDAO extends EgovAbstractDAO {
|
|||||||
insert("adjstConciliatorDAO.insertEndAdrPdfConversionReq", adjstConciliatorVO);
|
insert("adjstConciliatorDAO.insertEndAdrPdfConversionReq", adjstConciliatorVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO) {
|
||||||
|
update("adjstConciliatorDAO.updateAdjstRecommendationCommentDelete", adjstConciliatorVO);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -223,11 +223,17 @@ public class AdjstConciliatorServiceImpl implements AdjstConciliatorService {
|
|||||||
exmpManageVO.setExmpCcTy(adjstConciliatorVO.getCmntTy());
|
exmpManageVO.setExmpCcTy(adjstConciliatorVO.getCmntTy());
|
||||||
exmpManageVO.setExmpCn(adjstConciliatorVO.getCmntCn());
|
exmpManageVO.setExmpCn(adjstConciliatorVO.getCmntCn());
|
||||||
exmpManageVO.setFrstRegisterId(adjstConciliatorVO.getFrstRegisterId());
|
exmpManageVO.setFrstRegisterId(adjstConciliatorVO.getFrstRegisterId());
|
||||||
|
exmpManageVO.setUseYn("Y");
|
||||||
|
|
||||||
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
exmpAppManageDAO.insertExmpAppManager(exmpManageVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateAdjstRecommendationCommentDelete(AdjstConciliatorVO adjstConciliatorVO) {
|
||||||
|
adjstConciliatorDAO.updateAdjstRecommendationCommentDelete(adjstConciliatorVO);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -738,7 +738,7 @@
|
|||||||
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
||||||
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
||||||
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
||||||
, A.DELETE_YN AS deleteYn /* 삭제여부" */
|
, A.USE_YN AS useYn /* 사용여부" */
|
||||||
, M.MEM_NAME AS memName /* 조정위원명" */
|
, M.MEM_NAME AS memName /* 조정위원명" */
|
||||||
FROM ADR_MEM_CMNT A
|
FROM ADR_MEM_CMNT A
|
||||||
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
||||||
@ -761,7 +761,7 @@
|
|||||||
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
, A.FRST_REGISTER_ID AS frstRegisterId /* 등록자" */
|
||||||
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
, A.LAST_UPDT_PNTTM AS lastUpdtPnttm /* 수정일시" */
|
||||||
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
, A.LAST_UPDUSR_ID AS lastUpdusrId /* 수정자" */
|
||||||
, A.DELETE_YN AS deleteYn /* 삭제여부" */
|
, A.USE_YN AS useYn /* 사용여부" */
|
||||||
, M.MEM_NAME AS memName /* 조정위원명" */
|
, M.MEM_NAME AS memName /* 조정위원명" */
|
||||||
FROM ADR_MEM_CMNT A
|
FROM ADR_MEM_CMNT A
|
||||||
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
LEFT JOIN ADR_MEM_MGR M ON A.MEM_SEQ = M.MEM_SEQ
|
||||||
|
|||||||
@ -28,6 +28,8 @@
|
|||||||
COUNT(1) AS TOT
|
COUNT(1) AS TOT
|
||||||
FROM ADR_EXMP_MGR T1
|
FROM ADR_EXMP_MGR T1
|
||||||
WHERE T1.EXMP_CD = #exmpCd#
|
WHERE T1.EXMP_CD = #exmpCd#
|
||||||
|
AND T1.FRST_REGISTER_ID = #frstRegisterId#
|
||||||
|
AND T1.USE_YN = 'Y'
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEmpty prepend="AND" property="searchCondition">
|
<isEmpty prepend="AND" property="searchCondition">
|
||||||
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
@ -38,18 +40,6 @@
|
|||||||
AND T1.EXMP_CC_TY = #searchCondition#
|
AND T1.EXMP_CC_TY = #searchCondition#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<!-- <isNotEmpty property="searchKeyword"> -->
|
|
||||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue=""> -->
|
|
||||||
<!-- ( T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') OR -->
|
|
||||||
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') ) -->
|
|
||||||
<!-- </isEqual> -->
|
|
||||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="1"> -->
|
|
||||||
<!-- T1.EXMP_TIT LIKE CONCAT('%' , #searchKeyword#, '%') -->
|
|
||||||
<!-- </isEqual> -->
|
|
||||||
<!-- <isEqual prepend="AND" property="searchCondition" compareValue="2"> -->
|
|
||||||
<!-- T1.EXMP_NMS LIKE CONCAT('%' , #searchKeyword#, '%') -->
|
|
||||||
<!-- </isEqual> -->
|
|
||||||
<!-- </isNotEmpty> -->
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="ExmpAppManageDAO.selectExmpManagerList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
|
<select id="ExmpAppManageDAO.selectExmpManagerList" parameterClass="exmpManageVO" resultClass="exmpManageVO">
|
||||||
@ -102,6 +92,8 @@
|
|||||||
, T1.LAST_UPDUSR_ID AS lastUpdusrId
|
, T1.LAST_UPDUSR_ID AS lastUpdusrId
|
||||||
FROM ADR_EXMP_MGR T1
|
FROM ADR_EXMP_MGR T1
|
||||||
WHERE T1.EXMP_CD = #exmpCd#
|
WHERE T1.EXMP_CD = #exmpCd#
|
||||||
|
AND T1.FRST_REGISTER_ID = #frstRegisterId#
|
||||||
|
AND T1.USE_YN = 'Y'
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEmpty prepend="AND" property="searchCondition">
|
<isEmpty prepend="AND" property="searchCondition">
|
||||||
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
T1.EXMP_CN LIKE CONCAT('%' , #searchKeyword#, '%')
|
||||||
@ -142,6 +134,15 @@
|
|||||||
EXMP_MGR_ID = #exmpMgrId#
|
EXMP_MGR_ID = #exmpMgrId#
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
<update id="ExmpAppManageDAO.adjstOpinionDelect" parameterClass="exmpManageVO">
|
||||||
|
UPDATE
|
||||||
|
ADR_EXMP_MGR
|
||||||
|
SET
|
||||||
|
USE_YN = 'N'
|
||||||
|
WHERE
|
||||||
|
EXMP_MGR_ID = #exmpMgrId#
|
||||||
|
</update>
|
||||||
|
|
||||||
<update id="ExmpAppManageDAO.updateExmpAppDetails" parameterClass="exmpManageVO">
|
<update id="ExmpAppManageDAO.updateExmpAppDetails" parameterClass="exmpManageVO">
|
||||||
UPDATE
|
UPDATE
|
||||||
ADR_EXMP_DTL
|
ADR_EXMP_DTL
|
||||||
@ -166,6 +167,7 @@
|
|||||||
, ATCH_FILE_ID
|
, ATCH_FILE_ID
|
||||||
, FRST_REGIST_PNTTM
|
, FRST_REGIST_PNTTM
|
||||||
, FRST_REGISTER_ID
|
, FRST_REGISTER_ID
|
||||||
|
, USE_YN
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#exmpMgrId#
|
#exmpMgrId#
|
||||||
, #exmpCd#
|
, #exmpCd#
|
||||||
@ -175,6 +177,7 @@
|
|||||||
, #atchFileId#
|
, #atchFileId#
|
||||||
, NOW()
|
, NOW()
|
||||||
, #frstRegisterId#
|
, #frstRegisterId#
|
||||||
|
, #useYn#
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|||||||
@ -1328,6 +1328,7 @@
|
|||||||
AND T1.ADR_SEQ = #adrSeq#
|
AND T1.ADR_SEQ = #adrSeq#
|
||||||
AND T1.ADR_SN = #adrSn#
|
AND T1.ADR_SN = #adrSn#
|
||||||
AND T1.CMNT_TY = #cmntTy#
|
AND T1.CMNT_TY = #cmntTy#
|
||||||
|
AND T1.USE_YN = #useYn#
|
||||||
<isNotEmpty property="memSeq">
|
<isNotEmpty property="memSeq">
|
||||||
AND T1.MEM_SEQ = #memSeq#
|
AND T1.MEM_SEQ = #memSeq#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
@ -1420,7 +1421,8 @@
|
|||||||
FRST_REGIST_PNTTM,
|
FRST_REGIST_PNTTM,
|
||||||
FRST_REGISTER_ID,
|
FRST_REGISTER_ID,
|
||||||
LAST_UPDT_PNTTM,
|
LAST_UPDT_PNTTM,
|
||||||
LAST_UPDUSR_ID
|
LAST_UPDUSR_ID,
|
||||||
|
USE_YN
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#adrSeq#,
|
#adrSeq#,
|
||||||
#adrSn#,
|
#adrSn#,
|
||||||
@ -1431,7 +1433,8 @@
|
|||||||
NOW(),
|
NOW(),
|
||||||
#frstRegisterId#,
|
#frstRegisterId#,
|
||||||
NOW(),
|
NOW(),
|
||||||
#lastUpdusrId#
|
#lastUpdusrId#,
|
||||||
|
#useYn#
|
||||||
)
|
)
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
@ -1693,6 +1696,15 @@
|
|||||||
AND SBMT_SEQ = #sbmtSeq#
|
AND SBMT_SEQ = #sbmtSeq#
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
<update id="adjstConciliatorDAO.updateAdjstRecommendationCommentDelete" parameterClass="AdjstConciliatorVO">
|
||||||
|
UPDATE ADR_MEM_CMNT SET
|
||||||
|
USE_YN = #useYn#
|
||||||
|
,LAST_UPDT_PNTTM = NOW()
|
||||||
|
,LAST_UPDUSR_ID = #lastUpdusrId#
|
||||||
|
WHERE 1=1
|
||||||
|
AND CMNT_SEQ = #cmntSeq#
|
||||||
|
</update>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- DASH 보드 -->
|
<!-- DASH 보드 -->
|
||||||
|
|||||||
@ -27,7 +27,8 @@
|
|||||||
,{
|
,{
|
||||||
"adrSeq" : $("#adrSeq").val(),
|
"adrSeq" : $("#adrSeq").val(),
|
||||||
"adrSn" :$("#adrSn").val(),
|
"adrSn" :$("#adrSn").val(),
|
||||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_60,
|
"cmntTy" : "60",
|
||||||
|
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_60,
|
||||||
"pageIndex" : pageIndex,
|
"pageIndex" : pageIndex,
|
||||||
"pageUnit" : 5
|
"pageUnit" : 5
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,8 @@
|
|||||||
,{
|
,{
|
||||||
"adrSeq" : $("#adrSeq").val(),
|
"adrSeq" : $("#adrSeq").val(),
|
||||||
"adrSn" :$("#adrSn").val(),
|
"adrSn" :$("#adrSn").val(),
|
||||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_40,
|
"cmntTy" : "40",
|
||||||
|
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_40,
|
||||||
"pageIndex" : pageIndex,
|
"pageIndex" : pageIndex,
|
||||||
"pageUnit" : 5
|
"pageUnit" : 5
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,7 +27,8 @@
|
|||||||
,{
|
,{
|
||||||
"adrSeq" : $("#adrSeq").val(),
|
"adrSeq" : $("#adrSeq").val(),
|
||||||
"adrSn" :$("#adrSn").val(),
|
"adrSn" :$("#adrSn").val(),
|
||||||
"cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_30,
|
"cmntTy" : "30",
|
||||||
|
// "cmntTy" : KccadrConstants.ADR_CLOSE_DOC_TY_30,
|
||||||
"pageIndex" : pageIndex,
|
"pageIndex" : pageIndex,
|
||||||
"pageUnit" : 5
|
"pageUnit" : 5
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,11 @@
|
|||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
|
$('.deleteBtn').on('click', function(){
|
||||||
|
fn_dataDelete($(this).data('info'));
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncSaveCommnet(){
|
function fncSaveCommnet(){
|
||||||
@ -41,6 +46,33 @@
|
|||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
cache: false,
|
cache: false,
|
||||||
success: function (returnData, status) {
|
success: function (returnData, status) {
|
||||||
|
commentPageLoad();
|
||||||
|
},
|
||||||
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function fn_dataDelete(cmntSeq){
|
||||||
|
|
||||||
|
if (!confirm("삭제 하시겠습니까?")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var data = {
|
||||||
|
cmntSeq : cmntSeq
|
||||||
|
}
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: "/web/kccadr/adjcclt/commnet/adjstRecommendationCommentDelete.do",
|
||||||
|
data: JSON.stringify(data),
|
||||||
|
dataType:'json',
|
||||||
|
async: false,
|
||||||
|
processData: false,
|
||||||
|
contentType: "application/json",
|
||||||
|
cache: false,
|
||||||
|
success: function (returnData, status) {
|
||||||
|
console.log('returnData : ', returnData);
|
||||||
|
alert(returnData.msg);
|
||||||
fncGoCommentList();
|
fncGoCommentList();
|
||||||
},
|
},
|
||||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||||
@ -94,13 +126,15 @@
|
|||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 20%;">
|
<col style="width: 20%;">
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
<col style="width: 20%;">
|
<col style="width: 10%;">
|
||||||
|
<col style="width: 100px;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">일자</th>
|
<th scope="col">일자</th>
|
||||||
<th scope="col">내용</th>
|
<th scope="col">내용</th>
|
||||||
<th scope="col">조정위원</th>
|
<th scope="col">조정위원</th>
|
||||||
|
<th scope="col">삭제</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -117,6 +151,9 @@
|
|||||||
<td>
|
<td>
|
||||||
<p><c:out value='${list.cmntNm}' /></p>
|
<p><c:out value='${list.cmntNm}' /></p>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<button type="button" class="btnType01 deleteBtn" data-info="${list.cmntSeq }">삭제</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<c:if test="${fn:length(list) eq 0}">
|
<c:if test="${fn:length(list) eq 0}">
|
||||||
|
|||||||
@ -44,91 +44,103 @@
|
|||||||
// listForm.submit();
|
// listForm.submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AdjstReq.opinionsRegistAdjstPopList();
|
||||||
|
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
$('.deleteBtn').click(function(){
|
||||||
|
|
||||||
|
if(confirm("삭제를 하시겠습니까?"))
|
||||||
|
{
|
||||||
|
$('#exmpMgrId').val($(this).data('info'));
|
||||||
|
$('#listForm').attr('action', "<c:url value='/web/kccadr/adjcclt/ai/adjstOpinionDelect.do'/>");
|
||||||
|
document.listForm.submit();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="listForm" name="listForm" commandName="adjstOpinionVO" onsubmit="return false;" method="post">
|
<form id="listForm" name="listForm" method="post">
|
||||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjstOpinionVO.pageIndex}' default='1' />"/>
|
<input type="hidden" name="pageIndex" value="<c:out value='${exmpManageVO.pageIndex}' default='1' />"/>
|
||||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjstOpinionVO.searchSortCnd}" />" />
|
<input type="hidden" name="exmpMgrId" id="exmpMgrId" value="" />
|
||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjstOpinionVO.searchSortOrd}" />" />
|
|
||||||
<input type="hidden" name="searchStatus" value="<c:out value="${adjstOpinionVO.searchStatus}" />" />
|
|
||||||
<input type="hidden" name="adrSeq" value="" />
|
|
||||||
<input type="hidden" name="adrSn" value="" />
|
|
||||||
</form:form>
|
|
||||||
|
|
||||||
<!-- cont -->
|
<!-- cont -->
|
||||||
<div class="cont_wrap sub02_1" id="sub">
|
<div class="cont_wrap sub02_1" id="sub">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
<h2>자주쓰는의견 목록</h2>
|
<h2>자주쓰는의견 목록</h2>
|
||||||
</div>
|
|
||||||
<!-- <p>총 건수 : <span>204</span>건</p> -->
|
|
||||||
<div class="list_top">
|
|
||||||
<div class="list_util">
|
|
||||||
<label for="searchCondition">검색조건 선택</label>
|
|
||||||
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
|
||||||
<label for="searchKeyword">검색 조건 입력</label>
|
|
||||||
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="검색 조건 입력" size="20">
|
|
||||||
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- <p>총 건수 : <span>204</span>건</p> -->
|
||||||
<!-- //list_top -->
|
<div class="list_top">
|
||||||
|
<div class="list_util">
|
||||||
|
<label for="searchCondition">검색조건 선택</label>
|
||||||
|
<kc:select codeId="CC045" skipCd="10,50,70,80" name="searchCondition" id="searchCondition" defaultValue="" defaultText="전체" selectedValue="${exmpManageVO.searchCondition}"/>
|
||||||
|
<label for="searchKeyword">검색 조건 입력</label>
|
||||||
|
<input type="text" name="searchKeyword" id="searchKeyword" value="<c:out value='${exmpManageVO.searchKeyword}' />" placeholder="내용 입력" size="20">
|
||||||
|
<button type="button" class="btnType07" onclick="fncGoList(); return false;">검색</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- //list_top -->
|
||||||
|
|
||||||
<!-- list -->
|
<!-- list -->
|
||||||
<div class="tb_list01">
|
<div class="tb_list01">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 200px;">
|
<col style="width: 200px;">
|
||||||
<col style="width: 25%;">
|
<col style="width: 25%;">
|
||||||
<col style="width: auto;">
|
<col style="width: auto;">
|
||||||
<col style="width: 110px;">
|
<col style="width: 110px;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">등록일</th>
|
<th scope="col">등록일</th>
|
||||||
<th scope="col">유형</th>
|
<th scope="col">유형</th>
|
||||||
<th scope="col">내용</th>
|
<th scope="col">내용</th>
|
||||||
<th scope="col">삭제</th>
|
<th scope="col">삭제</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="list" items="${list}" varStatus="status">
|
<c:forEach var="list" items="${list}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="td_date">
|
<td class="td_date">
|
||||||
<p><c:out value="${list.frstRegistPnttm}"/></p>
|
<p><c:out value="${list.frstRegistPnttm}"/></p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<kc:code codeId="CC045" code="${list.exmpCcTy}"/>
|
<kc:code codeId="CC045" code="${list.exmpCcTy}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="#none" onclick="javascript:AdjstReq.opinionsRegistAdjstPopDetail('${list.exmpMgrId }');"><c:out value="${list.exmpCn}" /></a>
|
<a href="javascript:;" onclick="javascript:AdjstReq.opinionsRegistAdjstPopDetail('${list.exmpMgrId }');"><c:out value="${list.exmpCn}" /></a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button type="button" class="btnType01">삭제</button>
|
<button type="button" class="btnType01 deleteBtn" data-info="<c:out value="${list.exmpMgrId }" />">삭제</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<c:if test="${empty list}">
|
<c:if test="${empty list}">
|
||||||
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
|
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
|
||||||
</c:if>
|
</c:if>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- //list -->
|
<!-- //list -->
|
||||||
|
|
||||||
<!-- 하단 버튼 -->
|
<!-- 하단 버튼 -->
|
||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
<button class="btnType09" data-tooltip="opinion_regi_popup" onclick="AdjstReq.opinionsRegistAdjstPopList();">등록</button>
|
<button class="btnType09" data-tooltip="opinion_regi_popup" onclick="AdjstReq.opinionsRegistAdjstPopList();">등록</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- //하단 버튼 -->
|
<!-- //하단 버튼 -->
|
||||||
|
|
||||||
<!-- page -->
|
<!-- page -->
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
||||||
</div>
|
</div>
|
||||||
<!-- //page -->
|
<!-- //page -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -27,7 +27,7 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
// 레이어팝업 포커싱 이동 수정
|
// 레이어팝업 포커싱 이동 수정
|
||||||
$("#regBtn").click(function(){
|
$("#updtBtn").click(function(){
|
||||||
|
|
||||||
if($('#exmpCcTy').val() == '')
|
if($('#exmpCcTy').val() == '')
|
||||||
{
|
{
|
||||||
@ -42,7 +42,7 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(confirm("등록하시겠습니까?"))
|
if(confirm("수정하시겠습니까?"))
|
||||||
{
|
{
|
||||||
// var data = {
|
// var data = {
|
||||||
// exmpCcTy : $("#exmpCcTy").val()
|
// exmpCcTy : $("#exmpCcTy").val()
|
||||||
@ -53,7 +53,7 @@ $(document).ready(function(){
|
|||||||
var data = new FormData(document.createForm);
|
var data = new FormData(document.createForm);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
url: "/web/kccadr/adjcclt/insertExmpOpinionsAjax.do",
|
url: "/web/kccadr/adjcclt/updateExmpOpinionsAjax.do",
|
||||||
data: data,
|
data: data,
|
||||||
dataType:'json',
|
dataType:'json',
|
||||||
async: false,
|
async: false,
|
||||||
@ -100,7 +100,7 @@ $(document).ready(function(){
|
|||||||
<tr>
|
<tr>
|
||||||
<td>유형</td>
|
<td>유형</td>
|
||||||
<td>
|
<td>
|
||||||
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${dataInfo.exmpCcTy}"/>
|
<kc:select codeId="CC045" skipCd="10,50,70,80" id="exmpCcTy" name="exmpCcTy" defaultValue="" defaultText="선택" selectedValue="${mgrInfo.exmpCcTy }"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- <tr> -->
|
<!-- <tr> -->
|
||||||
@ -112,14 +112,14 @@ $(document).ready(function(){
|
|||||||
<tr>
|
<tr>
|
||||||
<td>내용</td>
|
<td>내용</td>
|
||||||
<td>
|
<td>
|
||||||
<textarea id="exmpCn" name="exmpCn" rows="5"><c:out value="${dataInfo.exmpCn}" /> </textarea>
|
<textarea id="exmpCn" name="exmpCn" rows="5" value="<c:out value="${mgrInfo.exmpCn }" />"><c:out value="${mgrInfo.exmpCn }" /> </textarea>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="btn_wrap">
|
<div class="btn_wrap">
|
||||||
<button class="btnType07" id="regBtn">저장</button>
|
<button class="btnType07" id="updtBtn">수정</button>
|
||||||
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
<button class="btnType01 tooltip-close" data-focus="opinion_regi_popup_close" data-focus-next="opinion_regi_popup">닫기</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -63,7 +63,6 @@ $(document).ready(function(){
|
|||||||
success:function(returnData){
|
success:function(returnData){
|
||||||
if(returnData.status == "OK"){
|
if(returnData.status == "OK"){
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
window.location.reload();
|
|
||||||
}else{
|
}else{
|
||||||
alert(returnData.data);
|
alert(returnData.data);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user