fix: 充值霸王餐查询修改
This commit is contained in:
@@ -22,5 +22,5 @@ public class MemberInDTO {
|
||||
// 使用的优惠券
|
||||
private List<Integer> couponIds = new ArrayList<>();
|
||||
// 是否使用积分抵扣
|
||||
private boolean usePoints;
|
||||
private boolean usePoints ;
|
||||
}
|
||||
|
||||
@@ -400,7 +400,7 @@ public class PayService {
|
||||
throw new MsgException("当前店铺未开启与优惠券同享");
|
||||
}
|
||||
|
||||
if (payDTO.getUsePoints() && freeDineConfig.getWithPoints() == 0) {
|
||||
if (payDTO.isUsePoints() && freeDineConfig.getWithPoints() == 0) {
|
||||
throw new MsgException("当前店铺未开启与积分同享");
|
||||
}
|
||||
|
||||
@@ -436,7 +436,7 @@ public class PayService {
|
||||
}
|
||||
|
||||
// TODO 霸王餐积分
|
||||
if (payDTO.getUsePoints()) {
|
||||
if (payDTO.isUsePoints()) {
|
||||
|
||||
}
|
||||
mpOrderInfoMapper.updateById(orderInfo);
|
||||
|
||||
Reference in New Issue
Block a user