이호영 이호영 2024-12-05
문자발송 > 광고일때
@113d2fc25a368768d001ea0f1099394f20fee29b
src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
--- src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
+++ src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
@@ -4271,7 +4271,7 @@
 		int totalSize = mjonMsgSendVOList.size(); // 총 데이터 개수
 		// Batch 크기 설정 (고정값)
 //		int batchSize = 10000; 465
-		int batchSize = 50000; 
+		int batchSize = 50000; // 9분 18초
 
 		log.info("총 데이터 개수 :: [{}] ", totalSize);
 		log.info("설정된 Batch 크기 :: [{}] ", batchSize);
src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp
@@ -1249,8 +1249,10 @@
 	// const processTimePerBatch = 130; // 130초
 	
 	
-	const processTimePerBatch = 260; // 260초
-	const batchSize = 300000; // 30만 건
+	// 30만건 기준 10분으로 기준을 잡아서 
+	// 시간계산함
+	const processTimePerBatch = 600;
+	const batchSize = 300000;
 	
 	// 1건당 처리 시간
 	const timePerRecord = processTimePerBatch / batchSize;
src/main/webapp/js/txtSpecialReplace.js
--- src/main/webapp/js/txtSpecialReplace.js
+++ src/main/webapp/js/txtSpecialReplace.js
@@ -322,6 +322,7 @@
 
 //특정문구 일괄변환 문자길이 체크 하기
 function fnReplCellExcel(){
+	console.log('fnReplCellExcel');
 	var smsTxtArea = $('#smsTxtArea').val();
 	var imgCnt = $("#imgCnt").val(); // 현재 페이지에 첨부된 이미지 갯수
 	var orgSmsTxt = smsTxtArea;		// 광고문자 뺀 문자내용
src/main/webapp/publish/css/content.css
--- src/main/webapp/publish/css/content.css
+++ src/main/webapp/publish/css/content.css
@@ -1784,7 +1784,7 @@
 
 /* 팩스전송 */
 .fax_content .fax_title{width: calc(100% - 340px);}
-.fax_content .file_add{display: inline-block; width: calc(100% - 162px); height: 100%; padding: 10px 10px 10px 10px; margin: 0 0 0 0; vertical-align: top; box-sizing: border-box; text-align: center; font-size: 16px;}
+.fax_content .file_add{display: inline-block; width: calc(100% - 166px); height: 100%; padding: 10px 10px 10px 10px; margin: 0 0 0 0; vertical-align: top; box-sizing: border-box; text-align: center; font-size: 16px;}
 .fax_content .file_add .cf_text_wrap{background-color: #e2e2e2; border-radius: 5px; padding: 5px 10px; margin: 10px 0 0 0; font-size: 14px; color: #666;}
 .fax_content .file_add .cf_text_wrap span{font-weight: 500;}
 .fax_content .file_add.upload_table_wrap{min-height: 130px; padding:0;background-color: #fff;}
Add a comment
List