餐位费 是否免除校验
This commit is contained in:
@@ -600,7 +600,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||||||
orderInfo.setTakeCode(getCode(shopInfo.getId()));
|
orderInfo.setTakeCode(getCode(shopInfo.getId()));
|
||||||
}
|
}
|
||||||
// 餐位费
|
// 餐位费
|
||||||
if (shopInfo.getIsTableFee().equals(1)) {
|
if (shopInfo.getIsTableFee().equals(0)) {
|
||||||
orderInfo.setSeatAmount(shopInfo.getTableFee().multiply(new BigDecimal(param.getSeatNum())));
|
orderInfo.setSeatAmount(shopInfo.getTableFee().multiply(new BigDecimal(param.getSeatNum())));
|
||||||
orderInfo.setSeatNum(param.getSeatNum());
|
orderInfo.setSeatNum(param.getSeatNum());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user