|
|
|
|
@ -126,7 +126,7 @@ public class EnsBatchStatusService extends AbstractService implements IEnsBatchS
|
|
|
|
|
*/
|
|
|
|
|
private void statusKakaopay(final SndngMssageParam dto) {
|
|
|
|
|
final String url = apiHost + apiKkopayBulkStatus;
|
|
|
|
|
AtomicBoolean isFirst = new AtomicBoolean(false);
|
|
|
|
|
AtomicBoolean isFirst = new AtomicBoolean(true);
|
|
|
|
|
|
|
|
|
|
final List<String> docsBinderUuids = mapper.selectKakaopayStatusTgts(dto);
|
|
|
|
|
final List<List<String>> partitions = ListUtils.partition(docsBinderUuids, bulkKkoMaxCnt);
|
|
|
|
|
@ -137,12 +137,12 @@ public class EnsBatchStatusService extends AbstractService implements IEnsBatchS
|
|
|
|
|
try {
|
|
|
|
|
if(!isFirst.get()){
|
|
|
|
|
Thread.sleep(300);
|
|
|
|
|
isFirst.set(true);
|
|
|
|
|
}
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
|
Thread.currentThread().interrupt();
|
|
|
|
|
//throw BizRuntimeException.create(e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
isFirst.set(false);
|
|
|
|
|
return apiWebClient.exchange(
|
|
|
|
|
url,
|
|
|
|
|
HttpMethod.POST,
|
|
|
|
|
|