Merge branch '4786' into advc
This commit is contained in:
parent
a569c8135f
commit
adfde61ea6
@ -1047,23 +1047,24 @@ public class KakaoAlimTalkServiceImpl extends EgovAbstractServiceImpl implements
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
// 측정할 메소드 호출 전 시간 기록
|
||||
Instant start = Instant.now();
|
||||
// Instant start = Instant.now();
|
||||
List<KakaoSendAdvcVO> jsonInfoData = new ArrayList<>(kakaoSendAdvcListVO);
|
||||
jsonInfoData.removeIf(t -> StringUtils.isBlank(t.getJsonStr()));
|
||||
log.info(" + jsonInfoData Insert :: [{}]", jsonInfoData.size());
|
||||
if(jsonInfoData.size() > 0) {
|
||||
kakaoAlimTalkDAO.insertKakaoAtDataJsonInfo_advc(jsonInfoData);
|
||||
}
|
||||
|
||||
|
||||
// 측정할 메소드 호출 후 시간 기록
|
||||
Instant end = Instant.now();
|
||||
// Instant end = Instant.now();
|
||||
|
||||
log.info(" + start :: [{}]", start);
|
||||
// 실행 시간 계산 (나노초, 밀리초, 초)
|
||||
long seconds = Duration.between(start, end).getSeconds();
|
||||
System.out.println("메소드 실행 시간 (초): " + seconds + " s");
|
||||
double minutes = seconds / 60.0; // 소수점 포함을 위해 60.0으로 나눔
|
||||
log.info(" seconds :: [{}], minutes :: [{}]", seconds, minutes);
|
||||
// log.info(" + start :: [{}]", start);
|
||||
// // 실행 시간 계산 (나노초, 밀리초, 초)
|
||||
// long seconds = Duration.between(start, end).getSeconds();
|
||||
// System.out.println("메소드 실행 시간 (초): " + seconds + " s");
|
||||
// double minutes = seconds / 60.0; // 소수점 포함을 위해 60.0으로 나눔
|
||||
// log.info(" seconds :: [{}], minutes :: [{}]", seconds, minutes);
|
||||
}
|
||||
|
||||
private void insertKakaoGroupDataTb_advc(int instCnt, KakaoVO kakaoVO, KakaoSendAdvcVO sendVO) throws Exception {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user