feat:适配跨单位和外来人员
This commit is contained in:
1 parent
8314f51dc5
commit
60bc959653
4 files changed
+55
-10
No files matched your search
+5
@@ -36,6 +36,11 @@ public enum HardPayTypeEnum {
|
||||
CASH
|
||||
);
|
||||
|
||||
public static final List<HardPayTypeEnum> isNotPay = List.of(
|
||||
STRIDE_DEPT_QR_CODE,
|
||||
FOREIGN_TICKET_QR_CODE
|
||||
);
|
||||
|
||||
public static HardPayTypeEnum valueOfByType(String type) {
|
||||
if (ObjectUtil.isEmpty(type)) return null;
|
||||
return Arrays.stream(values()).filter(v -> ObjectUtil.equals(type, v.getType())).findFirst().get();
|
||||
|
||||
Reference in new issue
Block a user