打印实现
This commit is contained in:
@@ -22,7 +22,9 @@ public interface RedisCst {
|
||||
|
||||
|
||||
// 排队取号全局号码
|
||||
String TABLE_CALL_NUMBER = "TABLE_CALL_NUMBER:";
|
||||
String TABLE_CALL_NUMBER = "table:call:number:";
|
||||
|
||||
String PRINT_ORDER_DETAIL = "print:order:detail:";
|
||||
|
||||
static String getLockKey(String sign, Object... args) {
|
||||
StringBuilder key = new StringBuilder(LOCK_KEY + ":" + sign + ":");
|
||||
@@ -37,4 +39,9 @@ public interface RedisCst {
|
||||
static String getTableCallNumKey(Long shopId, Long callTableId) {
|
||||
return TABLE_CALL_NUMBER + shopId + ":" + callTableId;
|
||||
}
|
||||
|
||||
|
||||
static String getPrintOrderDetailKey(Long orderId) {
|
||||
return PRINT_ORDER_DETAIL + orderId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user