打印实现

This commit is contained in:
张松
2025-02-25 14:42:19 +08:00
parent 9172e4b9f5
commit 14a732e4b5
30 changed files with 2227 additions and 233 deletions

View File

@@ -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;
}
}