2024-02-01 16:43 운영자 강의계획서, 결과보고서 파일 삭제 수정

This commit is contained in:
myname 2024-02-01 16:43:52 +09:00
parent 7f2303675f
commit b8844de760
3 changed files with 10 additions and 5 deletions

View File

@ -238,6 +238,7 @@
</isNotEmpty> </isNotEmpty>
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd# WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
AND user_id = #userId#
</update> </update>
</sqlMap> </sqlMap>

View File

@ -346,6 +346,7 @@
function fncAttachFileDelete( function fncAttachFileDelete(
p_atchFileId p_atchFileId
, p_prcsAplctPrdOrd , p_prcsAplctPrdOrd
, p_userId
, p_rprtFileType , p_rprtFileType
//, p_rprtFileType //, p_rprtFileType
) { //메뉴생성 화면 호출 ) { //메뉴생성 화면 호출
@ -363,6 +364,7 @@
data: { data: {
"atchFileId" : p_atchFileId "atchFileId" : p_atchFileId
, "prcsAplctPrdOrd" : p_prcsAplctPrdOrd , "prcsAplctPrdOrd" : p_prcsAplctPrdOrd
, "userId" : p_userId
, "rprtFileType" : p_rprtFileType , "rprtFileType" : p_rprtFileType
}, },
@ -582,7 +584,7 @@
</c:import> </c:import>
<!-- 강의계획서 삭제 --> <!-- 강의계획서 삭제 -->
<c:if test="${!empty list.lctrPlanAtchFileId}"> <c:if test="${!empty list.lctrPlanAtchFileId}">
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planCndtn')">강의계획서 삭제</button> <button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', '${list.userId}', 'planCndtn')">강의계획서 삭제</button>
</c:if> </c:if>
<!-- 강의계획서 등록 --> <!-- 강의계획서 등록 -->
@ -596,7 +598,7 @@
</c:import> </c:import>
<!-- 결과보고서 삭제 --> <!-- 결과보고서 삭제 -->
<c:if test="${!empty list.docAtchFileId}"> <c:if test="${!empty list.docAtchFileId}">
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtCndtn')">결과보고서 삭제</button> <button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', '${list.userId}', 'rprtCndtn')">결과보고서 삭제</button>
</c:if> </c:if>
<!-- 결과보고서 등록 --> <!-- 결과보고서 등록 -->

View File

@ -300,6 +300,7 @@
function fncAttachFileDelete( function fncAttachFileDelete(
p_atchFileId p_atchFileId
, p_prcsAplctPrdOrd , p_prcsAplctPrdOrd
, p_userId
, p_rprtFileType , p_rprtFileType
//, p_rprtFileType //, p_rprtFileType
) { //메뉴생성 화면 호출 ) { //메뉴생성 화면 호출
@ -317,6 +318,7 @@
data: { data: {
"atchFileId" : p_atchFileId "atchFileId" : p_atchFileId
, "prcsAplctPrdOrd" : p_prcsAplctPrdOrd , "prcsAplctPrdOrd" : p_prcsAplctPrdOrd
, "userId" : p_userId
, "rprtFileType" : p_rprtFileType , "rprtFileType" : p_rprtFileType
}, },
@ -572,7 +574,7 @@
</c:import> </c:import>
<!-- 강의계획서 삭제 --> <!-- 강의계획서 삭제 -->
<c:if test="${!empty list.lctrPlanAtchFileId}"> <c:if test="${!empty list.lctrPlanAtchFileId}">
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planFndth')">강의계획서 삭제</button> <button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', '${list.userId}', 'planFndth')">강의계획서 삭제</button>
</c:if> </c:if>
<!-- 강의계획서 등록 --> <!-- 강의계획서 등록 -->
@ -586,7 +588,7 @@
</c:import> </c:import>
<!-- 결과보고서 삭제 --> <!-- 결과보고서 삭제 -->
<c:if test="${!empty list.docAtchFileId}"> <c:if test="${!empty list.docAtchFileId}">
<button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtFndth')">결과보고서 삭제</button> <button type="button" class="btn_type06" onclick="fncAttachFileDelete('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', '${list.userId}', 'rprtFndth')">결과보고서 삭제</button>
</c:if> </c:if>
<!-- 결과보고서 등록 --> <!-- 결과보고서 등록 -->