'提交代码'

dev-discount
= 3 years ago
parent 7eac5d5fe2
commit 75afddd25a
  1. 8
      hai-service/src/main/java/com/hai/service/impl/HighQzOrderServiceImpl.java

@ -121,8 +121,8 @@ public class HighQzOrderServiceImpl implements HighQzOrderService {
highChildOrder.setChildOrdeStatus(1);
highChildOrder.setPraiseStatus(0);
// 计算原始价格
highOrder.setTotalPrice(highChildOrder.getGoodsPrice().multiply(new BigDecimal(highChildOrder.getSaleCount().toString())));
/*// 计算原始价格
highOrder.setTotalPrice(highChildOrder.getGoodsPrice().multiply(new BigDecimal(highChildOrder.getSaleCount().toString())));*/
// 观看时间
JSONObject showTimeObject = new JSONObject();
@ -152,8 +152,8 @@ public class HighQzOrderServiceImpl implements HighQzOrderService {
highChildOrder.setGiveawayType(false);
highChildOrder.setChildOrdeStatus(1);
highChildOrder.setPraiseStatus(0);
// 计算原始价格
highOrder.setTotalPrice(highChildOrder.getGoodsPrice().multiply(new BigDecimal(highChildOrder.getSaleCount().toString())));
/* // 计算原始价格
highOrder.setTotalPrice(highChildOrder.getGoodsPrice().multiply(new BigDecimal(highChildOrder.getSaleCount().toString())));*/
highOrder.getHighChildOrderList().add(highChildOrder);
}

Loading…
Cancel
Save