fix: 霸王餐充值接口开发
This commit is contained in:
@@ -405,7 +405,7 @@ public class PayService {
|
||||
}
|
||||
|
||||
// 校验就餐模式是否满足
|
||||
if (!freeDineConfig.getUseType().contains(orderInfo.getUseType())) {
|
||||
if (!freeDineConfig.getUseType().contains(orderInfo.getEatModel())) {
|
||||
throw new MsgException("当前店铺未开启此就餐模式霸王餐");
|
||||
}
|
||||
BigDecimal shouldPayAmount = orderInfo.getOriginAmount().multiply(BigDecimal.valueOf(freeDineConfig.getRechargeTimes()));
|
||||
|
||||
Reference in New Issue
Block a user