创建订单修改

This commit is contained in:
2024-10-10 09:15:00 +08:00
parent 2a9e26e524
commit d48cc850f5

View File

@@ -687,7 +687,7 @@ public class OrderService {
// 餐位费设置
if (!eatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0) {
if (!eatTypeInfoDTO.isTakeout() && shopInfo.getIsTableFee() != null && shopInfo.getIsTableFee() == 0 && orderVo.getSeatNum() != null) {
ChoseCountDTO choseCountDTO = new ChoseCountDTO();
choseCountDTO.setNum(orderVo.getSeatNum());
choseCountDTO.setTableId(orderVo.getTableId());