|
|
@ -112,7 +112,9 @@ public class BsIntegralRebateServiceImpl implements BsIntegralRebateService { |
|
|
|
|
|
|
|
|
|
|
|
BigDecimal integralNum = object.getBigDecimal("price").multiply(bsIntegralRebate.getPercentage()).setScale( 0, BigDecimal.ROUND_HALF_UP ); |
|
|
|
BigDecimal integralNum = object.getBigDecimal("price").multiply(bsIntegralRebate.getPercentage()).setScale( 0, BigDecimal.ROUND_HALF_UP ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
HighOrder order = highOrderService.getOrderById(object.getLong("orderId")); |
|
|
|
HighOrder order = highOrderService.getOrderById(object.getLong("orderId")); |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
highUserService.goldHandle(object.getLong("userId"), integralNum.intValue(), 1, 4, object.getLong("orderId") , object.getString("remark") + integralNum); |
|
|
|
highUserService.goldHandle(object.getLong("userId"), integralNum.intValue(), 1, 4, object.getLong("orderId") , object.getString("remark") + integralNum); |
|
|
|
|
|
|
|
|
|
|
|