fix: 无台桌不校验就餐模式

This commit is contained in:
张松
2024-12-17 13:32:12 +08:00
parent ad776d7ff4
commit 6e7fcd6404

View File

@@ -643,8 +643,12 @@ public class OrderService {
if (StringUtils.isEmpty(shopId)) {
return Result.fail(CodeEnum.SHOPINFONOEXIST);
}
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(Integer.valueOf(shopId), tableId);
ShopEatTypeInfoDTO shopEatTypeInfoDTO;
if (StrUtil.isBlank(tableId)) {
shopEatTypeInfoDTO = getEatModelUnCheck(Integer.valueOf(shopId), tableId);
}else {
shopEatTypeInfoDTO = checkEatModel(Integer.valueOf(shopId), tableId);
}
String day = DateUtils.getDay();
String finalMasterId1 = masterId;