fix: 霸王餐支付回调修改 增加霸王餐记录

This commit is contained in:
2024-10-30 14:37:29 +08:00
parent 9055607154
commit e9885f76cb
9 changed files with 340 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
package com.chaozhanggui.system.cashierservice.constant;
import io.netty.handler.codec.http2.Http2FrameStreamEvent;
import lombok.EqualsAndHashCode;
import lombok.Getter;
@@ -49,6 +50,36 @@ public interface TableConstant {
}
}
class FreeDineRecord {
@Getter
public enum State {
WAIT_PAY(0),
SUCCESS_PAY(1),
FAIL_PAY(2);
private final Integer value;
State(Integer value) {
this.value = value;
}
}
@Getter
public enum UseType {
TAKEOUT("takeout"),
DINE_IN_AFTER("dine-in-after"),
DINE_IN_BEFORE("dine-in-before");
private final String value;
UseType(String value) {
this.value = value;
}
public boolean equalsVals(String value) {
return this.value.equals(value);
}
}
}
class ShopInfo {
@Getter
public enum EatModel {