更新新逻辑
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package cn.pluss.platform.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum MccAndStore {
|
||||
|
||||
SUPERMARKET(1,"5411"),
|
||||
|
||||
BARBER(2,"7230"),
|
||||
|
||||
COSMETOLOGY(3,"7298"),
|
||||
|
||||
GYM(4,"7997"),
|
||||
|
||||
FOOT(5,"7297"),
|
||||
|
||||
FAVITY(6,"8021");
|
||||
|
||||
private final Integer value;
|
||||
|
||||
private final String desc;
|
||||
|
||||
public static String findValueByStoreId(Integer storeId) {
|
||||
for (MccAndStore store : MccAndStore.values()) {
|
||||
if (store.getValue().equals(storeId)) {
|
||||
return store.getDesc();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import lombok.EqualsAndHashCode;
|
||||
" LEFT JOIN tb_pluss_user_app ua ON ua.userId = opr.userId WHERE ua.userType != 'staff' GROUP BY extension ->> '$.ip'" +
|
||||
") t ON t.ip = opr.extension ->> '$.ip' WHERE ua.userType != 'staff') t1")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class OperationRecordVO extends OperationRecord {
|
||||
public class OperationRecordVO extends OperationRecord {
|
||||
|
||||
/**
|
||||
* 实名姓名
|
||||
|
||||
Reference in New Issue
Block a user