新增判断用户是否在场内逻辑,新增清场功能,修改二维码多样性

This commit is contained in:
limqhz
2023-12-07 18:16:03 +08:00
parent b4f9663bb2
commit 3345c2b6f3
21 changed files with 498 additions and 111 deletions

View File

@@ -1,11 +1,11 @@
package com.enums;
/**
* Enum - 入场支付类型
* Enum - 篮球入场支付类型
*
*/
public enum EnterVenuePayTypeEnum {
WEI_XIN(1, "微信"),
WEI_XIN(1, "余额"),
MEMBER_CARD(2, "会员卡");
public Integer value;
public String name;

View File

@@ -1,7 +1,7 @@
package com.enums;
/**
* Enum - 删除标志位
* Enum - 用户账号账单支付方式 目前入场记录和改支付方式不一致!!
*
*/
public enum PayTypeEnum {

View File

@@ -0,0 +1,42 @@
package com.enums;
/**
* Enum - 入场标志
*
*/
public enum StayEnum {
OUT(0, "场外"),
IN(1, "场内");
public Integer value;
public String name;
StayEnum(Integer value, String name) {
this.value = value;
this.name = name;
}
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public static StayEnum getByValue(Integer value) {
for (StayEnum type : StayEnum.values()) {
if (type.value.equals(value)) {
return type;
}
}
return null;
}
}