积分抵扣 设置为0时 未开启
This commit is contained in:
@@ -132,6 +132,10 @@ public class MemberPointsServiceImpl extends ServiceImpl<MemberPointsMapper, Mem
|
|||||||
dto.setUnusableReason("积分不足或小于最低使用门槛" + dto.getMinDeductionPoints());
|
dto.setUnusableReason("积分不足或小于最低使用门槛" + dto.getMinDeductionPoints());
|
||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (basic.getEquivalentPoints() == 0) {
|
||||||
|
return dto;
|
||||||
|
}
|
||||||
// 下单抵扣积分比例 1元=?积分
|
// 下单抵扣积分比例 1元=?积分
|
||||||
Integer equivalentPoints = basic.getEquivalentPoints();
|
Integer equivalentPoints = basic.getEquivalentPoints();
|
||||||
// 计算账户积分=?元
|
// 计算账户积分=?元
|
||||||
|
|||||||
Reference in New Issue
Block a user