이지우 - 배정 처리 시 거래유형, 신청사유 변경 가능하게끔 원복 처리

This commit is contained in:
JIWOO 2025-05-14 17:09:30 +09:00
parent f8554dd5b2
commit 0970661093
2 changed files with 7 additions and 26 deletions

View File

@ -1321,18 +1321,10 @@
<update id="trublreqstmngDeptConfirm2" parameterType="egovMap"> <update id="trublreqstmngDeptConfirm2" parameterType="egovMap">
UPDATE C_RCEPTMST UPDATE C_RCEPTMST
SET SET
<if test="caseGubun != null and caseGubun != ''">
CASE_GUBUN = #{caseGubun}, CASE_GUBUN = #{caseGubun},
</if>
<if test="caseReason1 != null and caseReason1 != ''">
CASE_REASON1 = #{caseReason1}, CASE_REASON1 = #{caseReason1},
</if>
<if test="caseReason2 != null and caseReason2 != ''">
CASE_REASON2 = #{caseReason2}, CASE_REASON2 = #{caseReason2},
</if>
<if test="caseReason3 != null and caseReason3 != ''">
CASE_REASON3 = #{caseReason3}, CASE_REASON3 = #{caseReason3},
</if>
SCCHF_ASSIGN = #{presidentAssign}, SCCHF_ASSIGN = #{presidentAssign},
SCCHF_ASSIGN_DT = SYSDATE, SCCHF_ASSIGN_DT = SYSDATE,
TIMHDER_ASSIGN = #{presidentAssign} TIMHDER_ASSIGN = #{presidentAssign}
@ -1367,18 +1359,10 @@
<update id="trublreqstmngDeptConfirm4" parameterType="egovMap"> <update id="trublreqstmngDeptConfirm4" parameterType="egovMap">
UPDATE C_RCEPTMST UPDATE C_RCEPTMST
SET SET
<if test="caseGubun != null and caseGubun != ''">
CASE_GUBUN = #{caseGubun}, CASE_GUBUN = #{caseGubun},
</if>
<if test="caseReason1 != null and caseReason1 != ''">
CASE_REASON1 = #{caseReason1}, CASE_REASON1 = #{caseReason1},
</if>
<if test="caseReason2 != null and caseReason2 != ''">
CASE_REASON2 = #{caseReason2}, CASE_REASON2 = #{caseReason2},
</if>
<if test="caseReason3 != null and caseReason3 != ''">
CASE_REASON3 = #{caseReason3}, CASE_REASON3 = #{caseReason3},
</if>
SCCHF_ASSIGN = #{presidentAssign}, SCCHF_ASSIGN = #{presidentAssign},
TIMHDER_ASSIGN = #{presidentAssign} TIMHDER_ASSIGN = #{presidentAssign}
,FTC_CHECK = ,FTC_CHECK =

View File

@ -505,8 +505,8 @@ $(document).ready(function(){
}); });
/* 부서변경 시 조정유형도 selected 처리 */ /* 부서변경 시 조정유형도 selected 처리 */
/* 250418 - 담당자 요청으로 부서 변경 시 조정유형, 신청유형 변경 막기 */ $("#presidentAssign").change(function(){
/* $("#presidentAssign").change(function(){ changeBeforeVal = $("#caseGubun").val();
var presidentAssignVal = ""; var presidentAssignVal = "";
if($("#presidentAssign").val() == '${SeedConstants.GONGJEONG1}' || $("#presidentAssign").val() == '${SeedConstants.GONGJEONG2}' if($("#presidentAssign").val() == '${SeedConstants.GONGJEONG1}' || $("#presidentAssign").val() == '${SeedConstants.GONGJEONG2}'
@ -556,10 +556,12 @@ $(document).ready(function(){
} }
//조정유형 변경 시 신청사유 셋팅 //조정유형 변경 시 신청사유 셋팅
if(changeBeforeVal != presidentAssignVal){
resnCombo(); resnCombo();
}
showConsignmentGubun(); showConsignmentGubun();
}); */ });
/*=========초기값 셋팅========*/ /*=========초기값 셋팅========*/
@ -718,11 +720,6 @@ $(document).ready(function(){
/*=========초기값 셋팅 END========*/ /*=========초기값 셋팅 END========*/
/* 250418 - 담당자 요청으로 부서 변경 시 조정유형, 신청유형 변경 막기 */
$("#caseGubun").attr("disabled", true);
$("#caseReason1").attr("disabled", true);
$("#caseReason2").attr("disabled", true);
$("#caseReason3").attr("disabled", true);
}); });