就餐模式获取修改

This commit is contained in:
2024-09-29 13:58:32 +08:00
parent caccb33016
commit 83e55d11d8

View File

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