|
|
@@ -2338,6 +2338,8 @@ public class TsfOrderService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ int cartDcSumAmt = 0;
|
|
|
+
|
|
|
for (Order od : tmtbGoodsApplyList) {
|
|
|
log.info("----------------------------------------------------------------------------");
|
|
|
log.info("cartSq ::: {}" , od.getCartSq());
|
|
|
@@ -2376,10 +2378,12 @@ public class TsfOrderService {
|
|
|
return resultStr;
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
if (od.getCartCpnDcAmt() != vo.getCartCpnDcAmt()) {
|
|
|
resultStr = "장바구니쿠폰 할인 금액정보가 잘못 되었습니다.";
|
|
|
return resultStr;
|
|
|
}
|
|
|
+ */
|
|
|
|
|
|
if ("Y".equals(od.getPrePntDcAmtYn())) {
|
|
|
if (od.getPrePntDcAmt() != vo.getPrePntDcAmt()) {
|
|
|
@@ -2390,10 +2394,16 @@ public class TsfOrderService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ cartDcSumAmt = cartDcSumAmt + od.getCartCpnDcAmt();
|
|
|
log.info("----------------------------------------------------------------------------");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ // 2021.10.13 장바구니금액
|
|
|
+ if (order.getCartCpnDcSumAmt() != cartDcSumAmt) {
|
|
|
+ resultStr = "장바구니쿠폰 할인 금액정보가 잘못 되었습니다.";
|
|
|
+ return resultStr;
|
|
|
+ }
|
|
|
+
|
|
|
return resultStr;
|
|
|
}
|
|
|
|