Browse Source

주석 임시저장

dwkim 2 years ago
parent
commit
c24b12bb71

+ 2 - 4
src/main/java/com/oqpo/api/service/loanmng/EasypayPaymentService.java

@@ -432,15 +432,13 @@ public class EasypayPaymentService extends CommonService {
432 432
                     System.out.println("=easypayPaymentRequest.getPayTpCd()====================================>" + easypayPaymentRequest.getPayTpCd());
433 433
 
434 434
                     if (PayTpCd.PRE_PAY_CHARGE.getCd().equals(easypayPaymentRequest.getPayTpCd()) //
435
-                            || PayTpCd.AFTER_PRE_PAYMENT.getCd().equals(easypayPaymentRequest.getPayTpCd())) { // 선결제/충전
435
+                            || PayTpCd.AFTER_PRE_PAYMENT.getCd().equals(easypayPaymentRequest.getPayTpCd())
436
+                            || PayTpCd.PR_APPR_PAYMENT.getCd().equals(easypayPaymentRequest.getPayTpCd())) { // 선결제/충전
436 437
                         System.out.println("========PayTpCd.PRE_PAY_CHARGE.getCd()===========================");
437 438
                         procPreChargePayment(userId, r_amount, r_pay_type, payInfo, easypayPaymentRequest);
438 439
                     } else if (PayTpCd.AFTER_PAYMENT.getCd().equals(easypayPaymentRequest.getPayTpCd())) { // 후불(결제)
439 440
                         System.out.println("========PayTpCd.AFTER_PAYMENT.getCd()===========================");
440 441
                         procAfterPayment(userId, r_amount, r_pay_type, payInfo, easypayPaymentRequest);
441
-                    } else if (PayTpCd.PR_APPR_PAYMENT.getCd().equals(easypayPaymentRequest.getPayTpCd())) { // 구매요청시 결제
442
-                        System.out.println("========PayTpCd.PR_APPR_PAYMENT.getCd()===========================");
443
-                        procPreChargePayment(userId, r_amount, r_pay_type, payInfo, easypayPaymentRequest);
444 442
                     }
445 443
                 } catch (Exception e) {
446 444
                     e.printStackTrace();