스케줄러 주석 해제 및 limit 해제

This commit is contained in:
wyh 2024-11-07 11:27:50 +09:00
parent fe62453073
commit 8afad77998

View File

@ -103,7 +103,7 @@ public class SchedulerUtil {
//문자 환불, 팩스 환불
//PayBack("");
PayBack("");
/*
// 문자 환불
@ -484,9 +484,15 @@ public class SchedulerUtil {
}else { //2분 마다는 7일을 대상으로 실행
//어플리케이션 트랜잭션 문제가 있어 Util 단으로 DB 호출을 가져옴 - 2024-03-14
//schdlrManageService.msgFailPayBack();
// limit 제한 있음
MjonMsgVO mjonMsgVO = new MjonMsgVO();
mjonMsgVO.setRecordCountPerPage(500);
List<MjonMsgVO> msgFailList = mjonMsgDataDAO.selectMsgSentFailSchedulerList(mjonMsgVO);
//List<MjonMsgVO> msgFailList = mjonMsgDataDAO.selectMsgSentFailSchedulerList(mjonMsgVO);
// limit 제한 없음
List<MjonMsgVO> msgFailList = mjonMsgDataDAO.selectMsgSentFailList();
long forBeforeTime = System.currentTimeMillis(); // 코드 실행 시간
int batchSize = 300;
int totalSize = msgFailList.size();