diff --git a/src/main/java/cokr/xit/ens/modules/nice/service/NiceCiStatBulkService.java b/src/main/java/cokr/xit/ens/modules/nice/service/NiceCiStatBulkService.java index 32f32b1..cba0595 100644 --- a/src/main/java/cokr/xit/ens/modules/nice/service/NiceCiStatBulkService.java +++ b/src/main/java/cokr/xit/ens/modules/nice/service/NiceCiStatBulkService.java @@ -262,8 +262,8 @@ public class NiceCiStatBulkService { } } } - niceCiNewTransactionService.insertNiceSmsSndngInquireResponseRepeats(results); - if(!sendResults.isEmpty()) niceCiNewTransactionService.insertSendResults(sendResults); + if(!results.isEmpty()) niceCiNewTransactionService.insertNiceSmsSndngInquireResponseRepeats(results); + if(!sendResults.isEmpty()) niceCiNewTransactionService.insertSendResults(sendResults); //---------------------------------------------------------- // API Call 후처리 END - response & 결과테이블 저장 //----------------------------------------------------------