|
@@ -150,6 +150,9 @@ public class IncrementOrderServiceImpl extends ServiceImpl<IIncrementOrderMapper
|
|
|
public IncrementOrder insertIncrementOrder(Long userId, DownNumParam param,IncrementType incrementType) {
|
|
|
|
|
|
BigDecimal total = incrementType.getPrice().multiply(new BigDecimal(param.getCount()));
|
|
|
+ if(param.getMonthQy() != null){
|
|
|
+ total = total.multiply(new BigDecimal(param.getMonthQy())); //高级会员月份
|
|
|
+ }
|
|
|
|
|
|
IncrementOrder incrementOrderEntity = new IncrementOrder();
|
|
|
incrementOrderEntity.setOrderSn(NumberUtils.getOrderSn());
|