|
@@ -442,12 +442,12 @@ public class NewOrderService extends CrudService<NewOrderDao, NewOrder> {
|
|
|
for (NewOrderProduct orderProduct : shopOrder.getNewOrderProducts()) {
|
|
|
productName.append(orderProduct.getName());
|
|
|
// 没有折扣时促销才生效
|
|
|
- if (orderProduct.getDiscount() >= 100d && !onlinePay) {
|
|
|
+ if (orderProduct.getDiscount() >= 100d) {
|
|
|
if (null != promotionsList && promotionsList.size() > 0) {
|
|
|
for (CmPromotion promotion : promotionsList) {
|
|
|
if ("3".equals(promotion.getType())) {
|
|
|
shopOrder.setOrderPromotionsId(orderProduct.getOrderPromotionsId());
|
|
|
- if ("2".equals(promotion.getMode())) {
|
|
|
+ if ("2".equals(promotion.getMode()) && !onlinePay) {
|
|
|
promotionsTouchPrice = promotion.getTouchPrice();
|
|
|
promotionsReducedPrice = promotion.getReducedPrice();
|
|
|
shopTouchPrice += (orderProduct.getNum() * orderProduct.getPrice());
|