客座费支持删除清空
This commit is contained in:
@@ -47,6 +47,8 @@ public class RedisCst {
|
||||
public static final String TAKEOUT_TABLE_CART = "TAKEOUT_TABLE_CART:";
|
||||
// 店内就餐购物车缓存
|
||||
public static final String DINE_IN_TABLE_CART = "DINE_IN_TABLE_CART:";
|
||||
// 当前台桌人数
|
||||
public static final String CURRENT_TABLE_SEAR_COUNT = "CURRENT_TABLE_SEAR_COUNT:";
|
||||
|
||||
|
||||
public static String getCurrentOrderKey(String tableId, String shopId) {
|
||||
@@ -79,4 +81,8 @@ public class RedisCst {
|
||||
}
|
||||
return getDineInTableCartKey(shopId, tableId);
|
||||
}
|
||||
|
||||
public static String getCurrentTableSeatCount(Object shopId, String tableId) {
|
||||
return CURRENT_TABLE_SEAR_COUNT + (shopId + ":" + tableId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user