fix: 台桌查询修改
This commit is contained in:
@@ -2694,7 +2694,9 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
throw new BadRequestException("当前店铺无需选择餐位费");
|
||||
}
|
||||
|
||||
TbShopTable shopTable = mpShopTableService.lambdaQuery().eq(TbShopTable::getQrcode, choseCountDTO.getTableId()).one();
|
||||
TbShopTable shopTable = mpShopTableService.lambdaQuery()
|
||||
.eq(TbShopTable::getShopId, choseCountDTO.getShopId())
|
||||
.eq(TbShopTable::getQrcode, choseCountDTO.getTableId()).one();
|
||||
if (shopTable == null) {
|
||||
throw new BadRequestException("台桌不存在");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user