订单超时取消时 同步更改台桌状态
This commit is contained in:
parent
7280b3e68e
commit
c32ecdf871
|
|
@ -835,6 +835,7 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||
if (StrUtil.isNotBlank(orderInfo.getTableCode())) {
|
||||
ShopTable table = shopTableService.getOneByTableCode(orderInfo.getShopId(), orderInfo.getTableCode());
|
||||
if (table != null) {
|
||||
table.setStatus(ShopTableStatusEnum.IDLE.getValue());
|
||||
shopTableService.updateById(table);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue