Ver código fonte

Merge remote-tracking branch 'origin/xodud1202' into order

xodud1202 5 anos atrás
pai
commit
c8f21ad0e2

+ 17 - 2
src/main/java/com/style24/core/support/env/TscConstants.java

@@ -548,11 +548,26 @@ public class TscConstants {
 //	}
 //
 	// 상품 타입
-	public enum GOODS_TYPE {
+	public enum GoodsType {
 		NORMAL("G056_N"), DEAL("G056_D"), SET("G056_S");
 
 		private String value;
-		private GOODS_TYPE(String value) {
+		private GoodsType(String value) {
+			this.value = value;
+		}
+
+		public String value() {
+			return value;
+		}
+	}
+
+	// 할인 적용 구분
+	public enum ApplyGb {
+		QTY("G810_10"),				// 수량
+		AMT("G810_20");				// 금액
+
+		private String value;
+		private ApplyGb(String value) {
 			this.value = value;
 		}
 

+ 21 - 0
src/main/java/com/style24/persistence/domain/Order.java

@@ -1,5 +1,7 @@
 package com.style24.persistence.domain;
 
+import java.util.List;
+
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.style24.persistence.TscBaseDomain;
 import com.style24.persistence.TscPageRequest;
@@ -387,4 +389,23 @@ public class Order extends TscBaseDomain {
 	private int exchangeOrdDtlItemSq;
 	private String wdGb;
 	private int addPayCost;
+
+	// 장바구니
+	@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
+	private int[] cartSqArr;		// 장바구니 일련번호 배열
+	private int cartSq;				// 장바구니 일련번호
+	private int pcCurrPrice;		// PC 즉시할인 적용가
+	private String jsessionId;		// SessionId
+	private List<Integer> applyMoreBetterAmtList;	// 다다익선 금액 적용상품 리스트
+	private List<Integer> applyMoreBetterQtyList;	// 다다익선 수량 적용상품 리스트
+
+	// 다다익선
+	private String applyGb;							// 다다익선 할인 기준
+	private String applyQtySectionYn;				// 다다익선 적용 여부
+	private String applyAmtSectionYn;				// 다다익선 적용 여부
+	private int applyAmtSectionVal;					// 적용 조건
+	private int applyQtySectionVal;					// 적용 조건
+	private int sectionVal;							// 다다익선 조건
+	private int tmtbSumQty;							// 장바구니 수량 다다익선 총계
+	private int tmtbSumAmt;							// 장바구니 금액 다다익선 총계
 }