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