분쟁사건 처리관리 삭제기능 추가

This commit is contained in:
wyh 2025-01-14 16:57:46 +09:00
parent 6e7e4fbc45
commit 3d07b07944
3 changed files with 42 additions and 17 deletions

View File

@ -357,6 +357,10 @@ public class BaseController {
//내부결제 첨부파일 조회
params.put("sql", pageFolder+".selectGWFileList");
params.put("selectGWFileList", JSPUtil.fixNull(bservice.list(params)));
}else if("MASTER_DELETE".equals(type)){
//내부결제 첨부파일 조회
params.put("data", JSPUtil.fixNull(bservice.update(params)).toString());
}

View File

@ -2909,4 +2909,12 @@
AND RESULT IS NOT NULL
)
</select>
<!--삭제처리 업데이트 -->
<update id="trublreqstmngmasterDelete" parameterType="egovMap">
UPDATE C_MASTER
SET
DEL_YN = 'Y'
WHERE CASE_NO = #{caseNo}
</update>
</mapper>

View File

@ -716,6 +716,17 @@ $("#periodCalulation").click(function(){
}
});
$("#deleteInsBtn").click(function(){
if(confirm("삭제 하시겠습니까?")){
$("#type").val("MASTER_DELETE");
var param = jQuery('#frm').serialize();
url = "/gtm/case/trublreqstmng/ajax/masterDelete.do";
XHR2(url, param, function(r){
location.href='/gtm/case/trublprocessmng/trublprocessmngList/TrublprocessmngPagingList.do';
});
}
});
$(".regIns").click(function() {
if($("#mediationSmall") != undefined){
$("#mediationSmall").attr("readonly",false);
@ -9735,6 +9746,9 @@ function docOpen(obj) {
<c:if test="${masterData.statePro != '0405000000' && masterData.statePro != '0402000000' && masterData.statePro != '0401000000'}">
<button type="button" id="preStepBtn" class="btn-default btn btn_text btn_46 subgray_border responsive">이전</button>
</c:if>
<c:if test="${masterData.statePro == '0401000000' && masterData.statePro != '0402000000' && memberPosition == '0915000000'}">
<button type="button" id="deleteInsBtn" class="btn-default btn btn_text btn_46 red_fill responsive">삭제</button>
</c:if>
</div>
<div class="area_right">
<c:if test="${masterData.statePro != '0405000000'}">
@ -9744,7 +9758,6 @@ function docOpen(obj) {
<button type="button" class="btn-default responsive btn btn_text btn_46 gray_fill returnList">목록</button>
</div>
</div>
</div>
</form:form>