订单超时取消时 同步更改台桌状态
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user