排队小票问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user