|
|
@@ -419,6 +419,11 @@ public class UserOrderServiceImpl implements UserOrderService {
|
|
|
|
|
|
BigDecimal dealPrice = totlePrice;
|
|
|
|
|
|
+ BigDecimal baseDealPrice = dealPrice;
|
|
|
+ BigDecimal activityDealPrice = dealPrice;
|
|
|
+ dealPrice = activityInfoService.manjianActivity(record, dealPrice);
|
|
|
+ activityDealPrice = dealPrice;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 优惠券
|
|
|
@@ -455,8 +460,6 @@ public class UserOrderServiceImpl implements UserOrderService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- BigDecimal baseDealPrice = dealPrice;
|
|
|
- dealPrice = activityInfoService.manjianActivity(record,dealPrice);
|
|
|
|
|
|
record.setDealPrice(dealPrice);
|
|
|
record.setTotlePrice(totlePrice);
|
|
|
@@ -467,7 +470,7 @@ public class UserOrderServiceImpl implements UserOrderService {
|
|
|
|
|
|
if (updates > 0) {
|
|
|
|
|
|
- if (dealPrice.compareTo(baseDealPrice) < 0) {//如果满减了,保存记录。
|
|
|
+ if (activityDealPrice.compareTo(baseDealPrice) < 0) {//如果满减了,保存记录。
|
|
|
activityInfoService.manjianActivityLog(record);
|
|
|
}
|
|
|
|