2025-11-14 09:44 로그 관리 수정, excel 문구 수정
This commit is contained in:
parent
f9932ed489
commit
6965042708
@ -470,18 +470,50 @@ public class EgovLoginLogController {
|
||||
System.out.println(loginLog.getMethodNm());
|
||||
System.out.println(loginLog.getMethodNm());
|
||||
System.out.println(loginLog.getMethodNm());
|
||||
String[] s_arr_1 = null;
|
||||
try {
|
||||
String[] s_arr = loginLog.getMethodNm().split("\\?");
|
||||
System.out.println(s_arr.length);
|
||||
System.out.println(s_arr.length);
|
||||
s_arr_1 = loginLog.getMethodNm().split("\\?");
|
||||
System.out.println(s_arr_1.length);
|
||||
System.out.println(s_arr_1.length);
|
||||
System.out.println(loginLog.getMethodNm().split("\\?").length);
|
||||
System.out.println(loginLog.getMethodNm().split("\\?")[0]);
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
String[] s_arr_2 = null;
|
||||
try {
|
||||
s_arr_2 = loginLog.getMethodNm().split("\\;");
|
||||
System.out.println(s_arr_2.length);
|
||||
System.out.println(s_arr_2.length);
|
||||
System.out.println(loginLog.getMethodNm().split("\\;").length);
|
||||
System.out.println(loginLog.getMethodNm().split("\\;")[0]);
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
//BBSMSTR_000000000010 - 공지사항
|
||||
//BBSMSTR_000000000040 - 교육자료실
|
||||
//BBSMSTR_000000000030 - FAQ
|
||||
|
||||
if (loginLog.getMethodNm().indexOf("BBSMSTR_000000000010")>-1
|
||||
|| loginLog.getMethodNm().indexOf("BBSMSTR_000000000040")>-1
|
||||
|| loginLog.getMethodNm().indexOf("BBSMSTR_000000000030")>-1
|
||||
) {
|
||||
//loginLog.setMethodNm(loginLog.getMethodNm().substring(0, loginLog.getMethodNm().split("\\?")[0].length()));
|
||||
;
|
||||
|
||||
}else {
|
||||
if (s_arr_2.length>1) {
|
||||
loginLog.setMethodNm(loginLog.getMethodNm().substring(0, loginLog.getMethodNm().split("\\;")[0].length()));
|
||||
|
||||
}else if (s_arr_1.length>1) {
|
||||
loginLog.setMethodNm(loginLog.getMethodNm().substring(0, loginLog.getMethodNm().split("\\?")[0].length()));
|
||||
}
|
||||
|
||||
//loginLogService.updateLogMethodAuto(loginLog);
|
||||
}
|
||||
|
||||
loginLog.setMethodNm(loginLog.getMethodNm().substring(0, loginLog.getMethodNm().split("\\?")[0].length()));
|
||||
loginLogService.updateLogMethodAuto(loginLog);
|
||||
|
||||
model.addAttribute("message", egovMessageSource.getMessage("success.common.update"));
|
||||
|
||||
@ -487,7 +487,9 @@ $( document ).ready(function(){
|
||||
onclick="document.all.file.click(); return false;"
|
||||
>파일첨부</button>
|
||||
<%-- <span class="reqTxt6">※ 컴퓨터 파일(엑셀)만 등록 가능합니다.<a href="${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=FILE_000000000001280&fileSn=0" target="_blank">sample</a></span> --%>
|
||||
<span class="req_text1">※ 컴퓨터 파일(엑셀)만 등록 가능합니다.<a href="${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=FILE_000000000001236&fileSn=0" target="_blank">샘플 다운로드</a></span>
|
||||
<span class="req_text1">※ 컴퓨터 파일(엑셀)만 등록 가능합니다.
|
||||
<%-- <a href="${pageContext.request.contextPath}/cmm/fms/FileDown.do?atchFileId=FILE_000000000001236&fileSn=0" target="_blank">샘플 다운로드</a> --%>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user