|
|
|
@ -15,6 +15,7 @@ import cokr.xit.ens.core.exception.*;
|
|
|
|
|
import cokr.xit.ens.core.exception.code.*;
|
|
|
|
|
import cokr.xit.ens.core.utils.*;
|
|
|
|
|
import cokr.xit.ens.modules.common.code.*;
|
|
|
|
|
import cokr.xit.ens.modules.common.ctgy.intgrnbill.kko.api.*;
|
|
|
|
|
import cokr.xit.ens.modules.common.ctgy.intgrnbill.kko.model.*;
|
|
|
|
|
import cokr.xit.ens.modules.common.ctgy.intgrnbill.kko.service.process.model.*;
|
|
|
|
|
import cokr.xit.ens.modules.common.ctgy.intgrnbill.support.api.*;
|
|
|
|
@ -59,6 +60,7 @@ public class NiceCiAcceptService {
|
|
|
|
|
|
|
|
|
|
private final INiceCiMapper niceCiMapper;
|
|
|
|
|
private final PayUseSysApi payUseSysApi;
|
|
|
|
|
private final BillKkoPayApiSpec billKkoPayApi;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Gson gson = new GsonBuilder().disableHtmlEscaping().create();
|
|
|
|
@ -207,8 +209,8 @@ public class NiceCiAcceptService {
|
|
|
|
|
.build();
|
|
|
|
|
billHistoryService.insertBillHistory(billHistDTO);
|
|
|
|
|
|
|
|
|
|
ResponseEntity<String> resEntity = payUseSysApi.payUrl(orgMng.getKkoBpUrlApi(), param,
|
|
|
|
|
null);
|
|
|
|
|
ResponseEntity<String> resEntity = billKkoPayApi.url(orgMng.getKkoBpBillerCode(), orgMng.getKkoBpAuthorization(),
|
|
|
|
|
gson.toJson(param));
|
|
|
|
|
|
|
|
|
|
// 마스터 상태 실패처리
|
|
|
|
|
if(resEntity.getStatusCode() != HttpStatus.OK){
|
|
|
|
|