Explorar o código

이태영 - 20210423 KCP 상품권 현금영수증 취소 로직 개발 중

xodud1202 %!s(int64=5) %!d(string=hai) anos
pai
achega
a3ba4c3db1

+ 6 - 0
src/main/java/com/style24/front/biz/web/TsfCartController.java

@@ -158,6 +158,12 @@ public class TsfCartController extends TsfBaseController {
 		model.addAttribute("order", order);
 		model.addAttribute("IMG_PATH", env.getProperty("upload.goods.view"));
 
+		GiftCard temp = new GiftCard();
+		temp.setModType("STPC");					// 요청 구분 (STSQ : 조회, STSC : 전체취소, STPC : 부분취소)
+		temp.setOrdNo(3);							// 주문번호
+		temp.setUsGfcdAmt(142);						// 부분취소 요청 금액
+		GiftCard aa = coreKcpService.kcpCashReceiptCancel(temp);
+
 		return super.getDeviceViewName("cart/CartListAjaxForm");
 	}