marseyes 2 роки тому
батько
коміт
6ac6f28eb3

+ 6 - 0
src/main/java/com/oqpo/api/service/loanmng/EasypayPaymentService.java

@@ -159,6 +159,7 @@ public class EasypayPaymentService extends CommonService {
159 159
                 encrypt_data = StringUtil.null2str(easypayPaymentRequest.getEP_encrypt_data()); // [필수]암호화전문
160 160
                 sessionkey = StringUtil.null2str(easypayPaymentRequest.getEP_sessionkey()); // [필수]세션키
161 161
             }
162
+            log.info("[REQUEST_PAYMENT] tr_cd : " + tr_cd);
162 163
 
163 164
             /* -------------------------------------------------------------------------- */
164 165
             /* ::: 변경관리 정보 설정                                                     */
@@ -273,11 +274,16 @@ public class EasypayPaymentService extends CommonService {
273 274
             /* ::: 실행                                                                   */
274 275
             /* -------------------------------------------------------------------------- */
275 276
             if (tr_cd.length() > 0) {
277
+                log.info("[REQUEST_PAYMENT] mall_id : " + mall_id + ", tr_cd : " + tr_cd + ", order_no : " + order_no);
276 278
                 easyPayClient.easypay_run(mall_id, tr_cd, order_no);
277 279
 
278 280
                 res_cd = easyPayClient.res_cd;
279 281
                 res_msg = easyPayClient.res_msg;
282
+
283
+                log.info("[REQUEST_PAYMENT] res_cd : " + res_cd + ", res_msg : " + res_msg);
280 284
             } else {
285
+                log.info("[REQUEST_PAYMENT] tr_cd is null.");
286
+
281 287
                 res_cd = "M114";
282 288
                 res_msg = "연동 오류|tr_cd값이 설정되지 않았습니다.";
283 289
             }

+ 1 - 1
src/main/resources/mybatis/sqlmaps/sttlmng/KiccPayMng.xml

@@ -37,7 +37,7 @@
37 37
                 </if>
38 38
             </when>
39 39
             <otherwise>
40
-                ORDER BY A.po_ord_no ASC
40
+                ORDER BY A.po_ord_no DESC
41 41
             </otherwise>
42 42
         </choose>
43 43
         <if test="gridRequest.pagingYn == true">