扫码上菜实现
This commit is contained in:
@@ -131,6 +131,7 @@ public class OrderDetail implements Serializable {
|
||||
* 状态: in-production 制作中;wait_out 待取餐;refunding 退款中; part_refund 部分退单; refund-退单; done 完成;
|
||||
*/
|
||||
private String status;
|
||||
private String subStatus;
|
||||
|
||||
/**
|
||||
* 当前下单次数
|
||||
|
||||
@@ -68,4 +68,7 @@ public interface OrderInfoService extends IService<OrderInfo> {
|
||||
|
||||
|
||||
Boolean updatePayOrderId(Long orderId, Long paymentId, String payType, String remark);
|
||||
|
||||
void updateOrderDetailStatus(Long orderDetailId);
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,23 @@ import lombok.Getter;
|
||||
* @author Administrator
|
||||
*/
|
||||
public interface TableValueConstant {
|
||||
interface OrderDetail {
|
||||
@Getter
|
||||
enum SubStatus {
|
||||
PENDING_PREP("PENDING_PREP", "待起菜"),
|
||||
READY_TO_SERVE("READY_TO_SERVE", "待出菜"),
|
||||
SENT_OUT("SENT_OUT", "已出菜"),
|
||||
DELIVERED("DELIVERED", "已上菜"),
|
||||
EXPIRED("EXPIRED", "已超时");
|
||||
private final String code;
|
||||
private final String msg;
|
||||
|
||||
SubStatus(String code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
}
|
||||
}
|
||||
interface MemberExpFlow {
|
||||
@Getter
|
||||
enum Type {
|
||||
|
||||
Reference in New Issue
Block a user