就餐模式获取修改
This commit is contained in:
@@ -54,8 +54,6 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
|
|||||||
private RabbitProducer a;
|
private RabbitProducer a;
|
||||||
//注入为空
|
//注入为空
|
||||||
public static RabbitProducer rabbitProducer;
|
public static RabbitProducer rabbitProducer;
|
||||||
@Autowired
|
|
||||||
private ShopUtils shopUtils;
|
|
||||||
|
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void b() {
|
public void b() {
|
||||||
@@ -141,8 +139,7 @@ public class PushToAppChannelHandlerAdapter extends NettyChannelHandlerAdapter {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ShopEatTypeInfoDTO eatModel = shopUtils.getEatModel(tableId, shopId);
|
String tableCartKey = RedisCst.getTableCartKey(shopId, tableId, Integer.valueOf(userId));
|
||||||
String tableCartKey = RedisCst.getTableCartKey(shopId, !eatModel.isOpenTakeout() ? null : 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;
|
||||||
|
|||||||
Reference in New Issue
Block a user