이지우 - 성인강사 > 기반,기소 강의내역 상세에 강의계획서 추가 및 관리자 상세화면에 강의계획서 다운로드 추가
This commit is contained in:
parent
e66e973f6b
commit
e0ce6f2dd4
@ -427,6 +427,7 @@ public class InnorixFileServiceImpl extends EgovAbstractServiceImpl implements I
|
||||
|
||||
vEAPrcsAplctPrdInstrAsgnmVO.setLastUpdusrId(adrInnorixFileVO.getUniqId());
|
||||
vEAPrcsAplctPrdInstrAsgnmVO.setPrcsAplctPrdOrd(adrInnorixFileVO.getPrcsAplctPrdOrd());
|
||||
vEAPrcsAplctPrdInstrAsgnmVO.setUserId(adrInnorixFileVO.getUniqId());
|
||||
|
||||
//저장
|
||||
vEAPrcsAplctPrdInstrAsgnmService.updatLctrPlanAtchFileId(vEAPrcsAplctPrdInstrAsgnmVO);
|
||||
|
||||
@ -198,8 +198,14 @@ public class VEFndtnAsgnmController {
|
||||
List<VEAPrcsAplctPrdInstrAsgnmVO> instrAsgnmList = egovCryptoUtil.decryptVEAPrcsAplctPrdInstrAsgnmVOList(vEAPrcsAplctPrdInstrAsgnmList);
|
||||
|
||||
model.addAttribute("instrAsgnmList", instrAsgnmList);
|
||||
|
||||
}
|
||||
|
||||
//강사 강의계획서 정보
|
||||
vEPrcsDetailVO.setUserId(loginVO.getUniqId());
|
||||
VEAPrcsAplctPrdInstrAsgnmVO vEPrcsInstrAsgnmDetail = vEAPrcsAplctPrdInstrAsgnmService.selectPrcsInstrAsgnmDetail(vEPrcsDetailVO);
|
||||
model.addAttribute("instrInfo", vEPrcsInstrAsgnmDetail);
|
||||
|
||||
|
||||
return "/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmDetail";
|
||||
}
|
||||
|
||||
@ -200,7 +200,10 @@ public class VESspnIdtmtAsgnmController {
|
||||
|
||||
model.addAttribute("instrAsgnmList", instrAsgnmList);
|
||||
}
|
||||
|
||||
//강사 강의계획서 정보
|
||||
vEPrcsDetailVO.setUserId(loginVO.getUniqId());
|
||||
VEAPrcsAplctPrdInstrAsgnmVO vEPrcsInstrAsgnmDetail = vEAPrcsAplctPrdInstrAsgnmService.selectPrcsInstrAsgnmDetail(vEPrcsDetailVO);
|
||||
model.addAttribute("instrInfo", vEPrcsInstrAsgnmDetail);
|
||||
|
||||
return "/web/ve/instr/sspnIdtmtVisitEdu/asgnmInfo/instrAsgnmDetail";
|
||||
}
|
||||
|
||||
@ -21,4 +21,6 @@ public interface VEAPrcsAplctPrdInstrAsgnmService {
|
||||
void updatLctrPlanAtchFileId(VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO);
|
||||
|
||||
void updateEduStateCdListAjax(VEPrcsDetailVO vEPrcsDetailVO);
|
||||
|
||||
VEAPrcsAplctPrdInstrAsgnmVO selectPrcsInstrAsgnmDetail(VEPrcsDetailVO vEDetailVO);
|
||||
}
|
||||
|
||||
@ -52,4 +52,7 @@ public class VEAPrcsAplctPrdInstrAsgnmDAO extends EgovAbstractDAO {
|
||||
update("VEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax", vEPrcsDetailVO);
|
||||
}
|
||||
|
||||
public VEAPrcsAplctPrdInstrAsgnmVO selectPrcsInstrAsgnmDetail(VEPrcsDetailVO vEDetailVO) {
|
||||
return (VEAPrcsAplctPrdInstrAsgnmVO) select("VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail", vEDetailVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,4 +75,10 @@ public class VEAPrcsAplctPrdInstrAsgnmServiceImpl implements VEAPrcsAplctPrdInst
|
||||
public void updateEduStateCdListAjax(VEPrcsDetailVO vEPrcsDetailVO) {
|
||||
vEAPrcsAplctPrdInstrAsgnmDAO.updateEduStateCdListAjax(vEPrcsDetailVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VEAPrcsAplctPrdInstrAsgnmVO selectPrcsInstrAsgnmDetail(VEPrcsDetailVO vEDetailVO) {
|
||||
return vEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail(vEDetailVO);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -186,8 +186,28 @@
|
||||
, last_updusr_id = #lastUpdusrId#
|
||||
, last_updt_pnttm = sysdate
|
||||
WHERE prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||
AND user_id = #userId#
|
||||
</update>
|
||||
|
||||
<select id="VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail" parameterClass="VEPrcsDetailVO" resultClass="VEAPrcsAplctPrdInstrAsgnmVO">
|
||||
/* VEAPrcsAplctPrdInstrAsgnmDAO.selectPrcsInstrAsgnmDetail*/
|
||||
SELECT
|
||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.select_column_name"/>
|
||||
, vid.instr_nm as instrNm
|
||||
, vid.phone
|
||||
FROM
|
||||
<include refid="VEAPrcsAplctPrdInstrAsgnmDAO.table_name"/> a
|
||||
LEFT JOIN ve_instr_detail vid
|
||||
ON a.user_id = vid.user_id
|
||||
WHERE 1=1
|
||||
AND a.prcs_aplct_prd_ord = #prcsAplctPrdOrd#
|
||||
AND vid.aprvl_cd ='20' <!-- 변경 승인 -->
|
||||
AND vid.instr_div ='20' <!-- 성인강사 -->
|
||||
AND vid.use_yn ='Y'
|
||||
<isNotEmpty prepend="AND" property="userId">
|
||||
a.user_id = #userId#
|
||||
</isNotEmpty>
|
||||
|
||||
</select>
|
||||
|
||||
</sqlMap>
|
||||
|
||||
@ -425,14 +425,16 @@
|
||||
<colgroup>
|
||||
<col style="width: 210px;"><!-- name -->
|
||||
<col style="width: auto;"><!-- 제출일 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 410px;"><!-- 강의계획서 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>강사명</th>
|
||||
<th>연락처</th>
|
||||
<th>확정여부</th>
|
||||
<th>확정여부</th>
|
||||
<th>강의계획서</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -450,6 +452,11 @@
|
||||
<td>
|
||||
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||
</td>
|
||||
|
||||
@ -413,14 +413,16 @@
|
||||
<colgroup>
|
||||
<col style="width: 210px;"><!-- name -->
|
||||
<col style="width: auto;"><!-- 제출일 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 410px;"><!-- 강의계획서 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>강사명</th>
|
||||
<th>연락처</th>
|
||||
<th>확정여부</th>
|
||||
<th>확정여부</th>
|
||||
<th>강의계획서</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -438,6 +440,11 @@
|
||||
<td>
|
||||
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||
</td>
|
||||
|
||||
@ -421,14 +421,16 @@
|
||||
<colgroup>
|
||||
<col style="width: 210px;"><!-- name -->
|
||||
<col style="width: auto;"><!-- 제출일 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 410px;"><!-- 강의계획서 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>강사명</th>
|
||||
<th>연락처</th>
|
||||
<th>확정여부</th>
|
||||
<th>확정여부</th>
|
||||
<th>강의계획서</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -446,6 +448,11 @@
|
||||
<td>
|
||||
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||
</td>
|
||||
|
||||
@ -386,6 +386,7 @@
|
||||
<col style="width: 210px;"><!-- name -->
|
||||
<col style="width: auto;"><!-- 제출일 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
<col style="width: 410px;"><!-- 강의계획서 -->
|
||||
<col style="width: 210px;"><!-- 신청상태 -->
|
||||
</colgroup>
|
||||
<thead>
|
||||
@ -393,6 +394,7 @@
|
||||
<th>강사명</th>
|
||||
<th>연락처</th>
|
||||
<th>확정여부</th>
|
||||
<th>강의계획서</th>
|
||||
<th>삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -410,6 +412,11 @@
|
||||
<td>
|
||||
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${list.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_type01" onclick="fn_delInstr('<c:out value="${list.userId }" />')">삭제</button>
|
||||
</td>
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
}
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
alert("업로드 완료");
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -272,7 +272,7 @@
|
||||
<tr class="trLength4">
|
||||
<th scope="row"><p>강의계획서</p></th>
|
||||
<td>
|
||||
<c:if test="${info.lctrPlanRsltAtchFileId == null || info.lctrPlanRsltAtchFileId == ''}">
|
||||
<c:if test="${instrInfo.lctrPlanAtchFileId == null || instrInfo.lctrPlanAtchFileId == ''}">
|
||||
<div class="btn_wrap">
|
||||
<button type="button" onclick="control1.openFileDialogSingle();" class="btnType01 lctrPlan_btn_add_file">강의계획서 파일찾기</button>
|
||||
<button type="button" onclick="fileSave();" class="btnType01 lctrPlan_btn_add_file">제출</button>
|
||||
@ -288,9 +288,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}">
|
||||
<c:if test="${instrInfo.lctrPlanAtchFileId != null && instrInfo.lctrPlanAtchFileId != ''}">
|
||||
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${info.lctrPlanRsltAtchFileId}" />
|
||||
<c:param name="param_atchFileId" value="${instrInfo.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</c:if>
|
||||
</td>
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
}
|
||||
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||
{
|
||||
alert("업로드 완료");
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -255,6 +255,32 @@
|
||||
</th>
|
||||
<td colspan="3"><ve:code codeId="VEA004" code="${info.ddlnCd}"/></td>
|
||||
</tr>
|
||||
<tr class="trLength4">
|
||||
<th scope="row"><p>강의계획서</p></th>
|
||||
<td>
|
||||
<c:if test="${instrInfo.lctrPlanAtchFileId == null || instrInfo.lctrPlanAtchFileId == ''}">
|
||||
<div class="btn_wrap">
|
||||
<button type="button" onclick="control1.openFileDialogSingle();" class="btnType01 lctrPlan_btn_add_file">강의계획서 파일찾기</button>
|
||||
<button type="button" onclick="fileSave();" class="btnType01 lctrPlan_btn_add_file">제출</button>
|
||||
</div>
|
||||
<div id="lctrPlan"></div><br/>
|
||||
<div class="file_cf">
|
||||
<div class="cf_left">
|
||||
<p>최대 <span class="lctrPlan_limitFileCount">1</span>개</p>
|
||||
</div>
|
||||
<div class="cf_right">
|
||||
<p>등록된 파일 <span class="upload_number lctrPlan_totalfileCount">0</span>개</p>
|
||||
<span class="upload_number lctrPlan_totalfileSize">0MB</span>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${instrInfo.lctrPlanAtchFileId != null && instrInfo.lctrPlanAtchFileId != ''}">
|
||||
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
|
||||
<c:param name="param_atchFileId" value="${instrInfo.lctrPlanAtchFileId}" />
|
||||
</c:import>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user