From 113d2fc25a368768d001ea0f1099394f20fee29b Mon Sep 17 00:00:00 2001 From: "hehihoho3@gmail.com" Date: Thu, 5 Dec 2024 17:35:44 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=B8=EC=9E=90=EB=B0=9C=EC=86=A1=20>=20?= =?UTF-8?q?=EA=B4=91=EA=B3=A0=EC=9D=BC=EB=95=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java | 2 +- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp | 6 ++++-- src/main/webapp/js/txtSpecialReplace.js | 1 + src/main/webapp/publish/css/content.css | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java b/src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java index 4ec00324..1acaf11d 100644 --- a/src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java +++ b/src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java @@ -4271,7 +4271,7 @@ public class MjonMsgDataServiceImpl extends EgovAbstractServiceImpl implements M int totalSize = mjonMsgSendVOList.size(); // 총 데이터 개수 // Batch 크기 설정 (고정값) // int batchSize = 10000; 465 - int batchSize = 50000; + int batchSize = 50000; // 9분 18초 log.info("총 데이터 개수 :: [{}] ", totalSize); log.info("설정된 Batch 크기 :: [{}] ", batchSize); diff --git a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp index f29c5b28..f1e8c1a6 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataView.jsp @@ -1249,8 +1249,10 @@ function calculateEstimatedTime(selectedCount) { // 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; diff --git a/src/main/webapp/js/txtSpecialReplace.js b/src/main/webapp/js/txtSpecialReplace.js index 8c2a3a33..c5b0d335 100644 --- a/src/main/webapp/js/txtSpecialReplace.js +++ b/src/main/webapp/js/txtSpecialReplace.js @@ -322,6 +322,7 @@ function fnReplCell(){ //특정문구 일괄변환 문자길이 체크 하기 function fnReplCellExcel(){ + console.log('fnReplCellExcel'); var smsTxtArea = $('#smsTxtArea').val(); var imgCnt = $("#imgCnt").val(); // 현재 페이지에 첨부된 이미지 갯수 var orgSmsTxt = smsTxtArea; // 광고문자 뺀 문자내용 diff --git a/src/main/webapp/publish/css/content.css b/src/main/webapp/publish/css/content.css index c8c5ec38..d51f1bf4 100644 --- a/src/main/webapp/publish/css/content.css +++ b/src/main/webapp/publish/css/content.css @@ -1784,7 +1784,7 @@ button.check_validity:hover {border: 1px solid #a3a3a3;box-shadow: 0px 0px 5px /* 팩스전송 */ .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;}