更新新逻辑

This commit is contained in:
liuyingfang
2023-11-16 14:15:46 +08:00
parent bb05947394
commit 8b555d4682
17 changed files with 205 additions and 47 deletions

View File

@@ -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;
}
}

View File

@@ -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 {
/**
* 实名姓名