台桌信息返回当前订单id

This commit is contained in:
SongZhang 2024-09-19 17:05:27 +08:00
parent 9cd49383ff
commit e72cc189da
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,8 @@ public class TbShopTableServiceImpl implements TbShopTableService {
itemMap.put("qrcode", QRCODE + date.getQrcode().trim());
itemMap.put("tableId", date.getQrcode());
}
itemMap.put("orderId", getCurrentOrderId(date.getQrcode(), date.getShopId().toString()));
infoList.add(itemMap);
}
int i = tbShopTableRepository.countAllByShopId(criteria.getShopId());