排队小票问题

This commit is contained in:
2026-04-17 10:21:05 +08:00
parent b854c9bc0f
commit 021fd32228
8 changed files with 91 additions and 63 deletions

View File

@@ -57,7 +57,7 @@ public interface RedisCst {
//后厨总单
public static final String ALL = "print:kitchen:all";
//菜品单
public static final String NORMAL = "print:kitchen:normal";
public static final String ONLY = "print:kitchen:only";
//退菜单
public static final String REFUND_ALL = "print:kitchen:refundAll";
}
@@ -91,8 +91,8 @@ public interface RedisCst {
*
* @param machineId 打印机设备id
*/
static String kitchenNormal(Long orderId, Long machineId, Long detailId) {
return kitchen.NORMAL + orderId + ":" + machineId + ":" + detailId;
static String kitchenOnly(Long orderId, Long machineId, Long detailId) {
return kitchen.ONLY + orderId + ":" + machineId + ":" + detailId;
}
/**