이지우 - 관리자 성인 > 강사료 확정 관리 > 강사료 안내 문자 발송 추가

This commit is contained in:
jiwoo 2023-12-08 15:45:34 +09:00
parent f33b0fdf4a
commit bcc3326415
4 changed files with 37 additions and 1 deletions

View File

@ -90,6 +90,7 @@ public class EgovCryptoUtil {
if (!"".equals(p_vEEduAplctVO.getEmail())) p_vEEduAplctVO.setEmail(this.decrypt(p_vEEduAplctVO.getEmail()));
if (!"".equals(p_vEEduAplctVO.getInstrNm())) p_vEEduAplctVO.setInstrNm(this.decrypt(p_vEEduAplctVO.getInstrNm()));
if (!"".equals(p_vEEduAplctVO.getUserNm())) p_vEEduAplctVO.setUserNm(this.decrypt(p_vEEduAplctVO.getUserNm()));
if (!"".equals(p_vEEduAplctVO.getInstrPhone())) p_vEEduAplctVO.setInstrPhone(this.decrypt(p_vEEduAplctVO.getInstrPhone()));
return p_vEEduAplctVO;
}

View File

@ -347,6 +347,8 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
private String type; //첨부파일 삭제 종류
private String table; //첨부파일 삭제 테이블
private String instrPhone; //강사 휴대폰
public String getPrcsAplctPrdOrd() {
return prcsAplctPrdOrd;
@ -1840,6 +1842,12 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
public void setSspnIdtmtTrgtOrdList(List<String> sspnIdtmtTrgtOrdList) {
this.sspnIdtmtTrgtOrdList = sspnIdtmtTrgtOrdList;
}
public String getInstrPhone() {
return instrPhone;
}
public void setInstrPhone(String instrPhone) {
this.instrPhone = instrPhone;
}
}

View File

@ -3209,6 +3209,7 @@
(SELECT a0.code_nm FROM LETTCCMMNDETAILCODE a0 WHERE a0.code_id='VE0019' AND a0.code=d.asgnm_aprvl_cd) AS asgnmAprvlCd ,
e.instr_nm AS instrNm,
e.phone AS instrPhone,
g.atch_file_id AS atchFileId,
d.rmrks AS rmrks,
(select

View File

@ -34,6 +34,7 @@
background-color: #ededed;
}
</style>
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
<script type="text/javascript">
$(document).ready(function(){
@ -180,6 +181,26 @@
});
}
function chkSendSms(){
var chkLen = $(listForm).find("input[name=chk]:checked").length;
if(chkLen == 0){
alert("선택된 항목이 없습니다.");
return;
}
$('input:checkbox[name="chk"]:checked').each(function() {
sendSms(
$(this).data('instrphone'),
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
$(this).val().split('@')[0],
$(this).data('userid'),
"N"
);
});
alert("발송되었습니다.");
}
</script>
<title>신청관리</title>
</head>
@ -297,7 +318,11 @@
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<input name="chk" class="${list.atchFileId}" value="${list.eduAplctOrd}@${list.eduChasiOrd}" title="Check" type="checkbox"/>
<input name="chk" class="${list.atchFileId}" value="${list.eduAplctOrd}@${list.eduChasiOrd}"
data-instrphone="<c:out value='${list.instrPhone}' />" data-userid="<c:out value='${list.userId}' />"
data-date="<c:out value='${list.eduHopeDt}' /> <c:out value='${list.strtTm}' /> ~ <c:out value='${list.endTm}' />"
data-instrnm="<c:out value='${list.instrNm}' />" data-instrfeesum="<c:out value='${list.instrFeeSum}' />"
title="Check" type="checkbox"/>
</td>
<!--
<td>
@ -373,6 +398,7 @@
<div class="btn_left">
<!-- <button type="button" class="btn_type06" onclick="fnAcmdtFileZipDownload(); return false;">숙박영수증다운로드</button> -->
<button type="button" class="btn_type06" onclick="excelDownLoad();">지급내역다운로드</button>
<button type="button" class="btn_type06" onclick="chkSendSms();">강사료 안내 문자발송</button>
</div>
<div class="btn_center">
</div>