|
|
@@ -542,7 +542,7 @@ public class FsStoreOrderScrmServiceImpl implements IFsStoreOrderScrmService {
|
|
|
|
|
|
FsUserScrm user = userService.selectFsUserById(uid);
|
|
|
// 积分抵扣
|
|
|
- BigDecimal deductionPrice = BigDecimal.ZERO; //总抵扣金额
|
|
|
+ BigDecimal deductionPrice = BigDecimal.ZERO; //积分抵扣金额
|
|
|
double usedIntegral = 0; //使用了多少积分
|
|
|
if (param.getUseIntegral() != null && param.getUseIntegral() == 1 && user.getIntegral().intValue() > 0) {
|
|
|
//如果积分总和小于用户积分 抵扣比例 计算抵扣价格
|