fix: 充值霸王餐查询修改
This commit is contained in:
@@ -400,7 +400,7 @@ public class PayService {
|
|||||||
throw new MsgException("当前店铺未开启与优惠券同享");
|
throw new MsgException("当前店铺未开启与优惠券同享");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (payDTO.getUsePoints() && freeDineConfig.getWithPoints() == 0) {
|
if (payDTO.isUsePoints() && freeDineConfig.getWithPoints() == 0) {
|
||||||
throw new MsgException("当前店铺未开启与积分同享");
|
throw new MsgException("当前店铺未开启与积分同享");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -436,7 +436,7 @@ public class PayService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO 霸王餐积分
|
// TODO 霸王餐积分
|
||||||
if (payDTO.getUsePoints()) {
|
if (payDTO.isUsePoints()) {
|
||||||
|
|
||||||
}
|
}
|
||||||
mpOrderInfoMapper.updateById(orderInfo);
|
mpOrderInfoMapper.updateById(orderInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user