记得上下班打卡 | git大法好,push需谨慎

Commit 44a0c512 authored by 胡佳晨's avatar 胡佳晨

去掉运费

parent 847ed9b7
......@@ -955,13 +955,12 @@ alter table goblin_order_sku add spu_pic varchar(255) default '' comment 'spu图
alter table goblin_store_order add store_name varchar(255) default '' comment '商铺名称';
alter table goblin_store_order add market_type varchar(255) default '' comment '活动类型[ZZ-正在下单]';
alter table goblin_store_order add market_id varchar(255) default '' comment '活动id';
alter table goblin_store_order add store_coupon_id varchar(255) default '' comment '商铺券id';
alter table goblin_store_order add store_price_coupon decimal (8,2) default 0 comment '商铺券优惠金额';
alter table goblin_back_order add back_price_express decimal (8,2) default 0 comment '退款快递费';
alter table goblin_back_order_log add operation_name varchar(255) default '' comment '操作人姓名';
# -- >>------------------------------------------------------------------------------------
# -- >>------------------------------------------------------------------------------------
drop table if exists goblin_store_coupon;
......
......@@ -196,7 +196,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
return ResponseDto.failure(e.getMessage());
} else if (e.getMessage().equals("平台券不可用")) {
return ResponseDto.failure(e.getMessage());
}else if (e.getMessage().equals("店铺券不可用")) {
} else if (e.getMessage().equals("店铺券不可用")) {
return ResponseDto.failure(e.getMessage());
} else if (e.getMessage().equals("不可购买")) {
return ResponseDto.failure(e.getMessage());
......@@ -340,7 +340,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
if (addressesVo == null) {
storeOrder.setPriceExpress(BigDecimal.ZERO);
} else {
storeOrder.setPriceExpress(BigDecimal.TEN);
storeOrder.setPriceExpress(BigDecimal.ZERO);
}
storeOrder.setPriceTotal(storeTotalPrice.add(storeOrder.getPriceExpress()));
storeOrder.setPriceActual(storeOrder.getPriceTotal().add(voucherMarket).subtract(voucherPrice));
......@@ -484,7 +484,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
storeOrder.setPayCode(payCode);
sqlDataOrder.add(new Object[]{
storeOrder.getMasterOrderCode(), storeOrder.getOrderId(), storeOrder.getStoreId(), storeOrder.getStoreName(), storeOrder.getOrderCode(), storeOrder.getUserId(), storeOrder.getUserName(), storeOrder.getUserMobile(), storeOrder.getPriceTotal(), storeOrder.getPayCode(),
storeOrder.getPriceActual(), storeOrder.getPriceRefund(), storeOrder.getPriceExpress(), storeOrder.getPriceCoupon(), storeOrder.getPriceVoucher(),storeOrder.getStorePriceCoupon(), storeOrder.getStatus(), storeOrder.getUcouponId(), storeOrder.getStoreCouponId(), storeOrder.getPayType(), storeOrder.getDeviceFrom(),
storeOrder.getPriceActual(), storeOrder.getPriceRefund(), storeOrder.getPriceExpress(), storeOrder.getPriceCoupon(), storeOrder.getPriceVoucher(), storeOrder.getStorePriceCoupon(), storeOrder.getStatus(), storeOrder.getUcouponId(), storeOrder.getStoreCouponId(), storeOrder.getPayType(), storeOrder.getDeviceFrom(),
storeOrder.getSource(), storeOrder.getVersion(), storeOrder.getIsMember(), storeOrder.getOrderType(), storeOrder.getWriteOffCode(), storeOrder.getPayCountdownMinute(), storeOrder.getIpAddress(), storeOrder.getMarketId(), storeOrder.getMarketType(), storeOrder.getCreatedAt()
});
GoblinOrderAttr orderAttr = item.getOrderAttr();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment