就餐模式获取修改

This commit is contained in:
2024-09-29 14:11:54 +08:00
parent a3e53c0bb5
commit 6ddde0e335

View File

@@ -143,7 +143,7 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
}
ShopEatTypeInfoDTO eatModel = shopUtils.getEatModel(tableId, shopId);
String tableCartKey = RedisCst.getTableCartKey(shopId, eatModel.isOpenTakeout() ? tableId : null, Integer.valueOf(userId));
String tableCartKey = RedisCst.getTableCartKey(shopId, eatModel.isOpenDineIn() ? tableId : null, Integer.valueOf(userId));
log.info("netty连接 接收到数据 建立连接参数 key: {} param:{}", tableCartKey, jsonObject);
this.tableId=tableId;
this.shopId=shopId;