排队小票问题

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;
}
/**

View File

@@ -0,0 +1,27 @@
package com.czg.print;
import com.czg.account.entity.CallQueue;
import com.czg.account.entity.CallTable;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* @author ww
*/
@Data
public class CallTablePrintDTO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
private CallQueue callQueue;
private CallTable callTable;
//二维码地址
private String callUrl;
private Long preNum;
}