2024-02-22 17:32 학교등록 수정
This commit is contained in:
parent
d595487675
commit
cd163ea26e
@ -1178,6 +1178,7 @@ public class OprtnInstrTngrPrflContoller {
|
||||
//json 알림
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
String v_ret = ""; //안들어간 학교 정보 출력용
|
||||
|
||||
//사용자 로그인 여부 체크 for json
|
||||
//로그인 정보 가져오기
|
||||
@ -1239,9 +1240,10 @@ public class OprtnInstrTngrPrflContoller {
|
||||
if(resultCnt > 0) {
|
||||
succCnt++;
|
||||
}else {
|
||||
System.out.println("");
|
||||
System.out.println("breaks");
|
||||
System.out.println(sb.get(i));
|
||||
System.out.println(s_tmp[0]);
|
||||
v_ret = v_ret + "<br/>" + sb.get(i);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1251,6 +1253,7 @@ public class OprtnInstrTngrPrflContoller {
|
||||
|
||||
modelAndView.addObject("totalCnt", totalCnt);
|
||||
modelAndView.addObject("succCnt", succCnt);
|
||||
modelAndView.addObject("vRet", v_ret);
|
||||
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
@ -56,6 +56,11 @@
|
||||
createForm.submit();
|
||||
}
|
||||
|
||||
function fncGoPrint(p_params){
|
||||
$("#tdInfo").prepend(p_params);
|
||||
|
||||
}
|
||||
|
||||
/* 등록 */
|
||||
function fn_insert(){
|
||||
//if (!validateAddrAgencyVO(document.addrAgencyVO)) return;
|
||||
@ -102,7 +107,10 @@
|
||||
//timeout: 600000,
|
||||
success: function (returnData, status) {
|
||||
alert("총 엑셀 건수 : "+returnData.totalCnt + "\n성공 건수 : "+returnData.succCnt);
|
||||
fncGoList();
|
||||
//fncGoList();
|
||||
//alert(returnData.vRet);
|
||||
fncGoPrint(returnData.vRet);
|
||||
|
||||
},
|
||||
error: function (request,status,error) {
|
||||
//alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
@ -226,6 +234,14 @@
|
||||
<!-- <span class="reqTxt6">※ 컴퓨터 파일(엑셀)만 등록 가능합니다.<a href="https://www.copyright.or.kr/offedu/cmm/fms/FileDown.do?atchFileId=FILE_000000000040425&fileSn=0" target="_blank">sample</a></span> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p>info</p>
|
||||
</th>
|
||||
<td class="input_phone attachedFile_wrap" id="tdInfo">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user