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

Commit 9efabb93 authored by 张国柄's avatar 张国柄

Merge remote-tracking branch 'origin/hjc' into hjc

parents d7cb0082 d7c53e43
...@@ -159,6 +159,8 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService { ...@@ -159,6 +159,8 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
} }
if (e.getMessage() == null) { if (e.getMessage() == null) {
return ResponseDto.failure(ErrorMapping.get("20018"));//乱七八糟异常 return ResponseDto.failure(ErrorMapping.get("20018"));//乱七八糟异常
} 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()); return ResponseDto.failure(e.getMessage());
} else if (e.getMessage().equals("平台券店铺券不可一起使用")) { } else if (e.getMessage().equals("平台券店铺券不可一起使用")) {
...@@ -349,7 +351,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService { ...@@ -349,7 +351,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
if (addressesVo == null) { if (addressesVo == null) {
storeOrder.setPriceExpress(BigDecimal.ZERO); storeOrder.setPriceExpress(BigDecimal.ZERO);
} else { } else {
storeOrder.setPriceExpress(BigDecimal.ZERO); storeOrder.setPriceExpress(BigDecimal.TEN);
} }
storeOrder.setPriceTotal(storeTotalPrice.add(storeOrder.getPriceExpress())); storeOrder.setPriceTotal(storeTotalPrice.add(storeOrder.getPriceExpress()));
BigDecimal priceActual = storeOrder.getPriceTotal().subtract(voucherPrice).subtract(storeVoucherPrice); BigDecimal priceActual = storeOrder.getPriceTotal().subtract(voucherPrice).subtract(storeVoucherPrice);
......
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