fix: 台桌查询修改

This commit is contained in:
张松
2024-12-20 09:45:00 +08:00
parent 5cd84c91fa
commit 8fe450dd70

View File

@@ -2071,6 +2071,7 @@ public class OrderService {
} }
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaQueryWrapper<TbShopTable>() TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaQueryWrapper<TbShopTable>()
.eq(TbShopTable::getShopId, choseCountDTO.getShopId())
.eq(TbShopTable::getQrcode, choseCountDTO.getTableId())); .eq(TbShopTable::getQrcode, choseCountDTO.getTableId()));
if (shopTable == null) { if (shopTable == null) {
throw new NotPrintException("台桌不存在"); throw new NotPrintException("台桌不存在");