台桌返回当前用餐类型
This commit is contained in:
@@ -163,7 +163,10 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
itemMap.put("tableId", date.getQrcode());
|
||||
}
|
||||
|
||||
itemMap.put("orderId", getCurrentOrderId(date.getQrcode(), date.getShopId().toString()));
|
||||
String currentOrderId = getCurrentOrderId(date.getQrcode(), date.getShopId().toString());
|
||||
TbOrderInfo orderInfo = orderInfoMapper.selectById(currentOrderId);
|
||||
itemMap.put("orderId", orderInfo == null ? null : orderInfo.getId());
|
||||
itemMap.put("useType", orderInfo == null ? null : orderInfo.getUseType());
|
||||
infoList.add(itemMap);
|
||||
}
|
||||
int i = tbShopTableRepository.countAllByShopId(criteria.getShopId());
|
||||
|
||||
Reference in New Issue
Block a user