增加 判断是否支付成功的检验逻辑 member/isPayed

This commit is contained in:
2023-12-27 09:17:08 +08:00
parent 1a7216a2cc
commit c4e3268efa
5 changed files with 25 additions and 15 deletions

View File

@@ -10,15 +10,15 @@ public enum PayStatusEnum {
NOT_PAY(0, "未支付"), PAYED(1, "已支付");
public Byte value;
public Integer value;
public String name;
PayStatusEnum(Integer value, String name) {
this.value = value.byteValue();
this.value = value;
this.name = name;
}
public Byte getValue() {
public Integer getValue() {
return value;
}