From cac8f41a47915de2a30a8784fe1fc35c364e86df Mon Sep 17 00:00:00 2001 From: jiaosong <jiaosong6760@dingtalk.com> Date: 星期二, 10 十月 2023 18:27:08 +0800 Subject: [PATCH] #pgsql 运营监控 --- server/services/src/main/java/com/doumee/core/constants/Constants.java | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 109 insertions(+), 0 deletions(-) diff --git a/server/services/src/main/java/com/doumee/core/constants/Constants.java b/server/services/src/main/java/com/doumee/core/constants/Constants.java index 7549ff2..3f9acf4 100644 --- a/server/services/src/main/java/com/doumee/core/constants/Constants.java +++ b/server/services/src/main/java/com/doumee/core/constants/Constants.java @@ -27,6 +27,7 @@ public static final String IMG_DIR = "IMG_DIR"; public static final String FILE_DIR ="FILE_DIR" ; public static final String PRIVATE_KEY = "PRIVATE_KEY"; + public static final String PROJECT_FILE = "PROJECT_FILE"; public static String REDIS_DEBUG_STR="test_"; public interface MqttTopic{ //寮�閿� @@ -58,6 +59,7 @@ public interface transactionsType{ int deposit =0; int consumption =1; + int refund =2; int platformRefund = 3; } @@ -94,6 +96,18 @@ public static final String RENT_DEPOSIT = "RENT_DEPOSIT"; //娓╅Θ鎻愮ず public static final String TIPS = "TIPS"; + //灏忕▼搴忓仠姝㈡湇鍔℃彁绀� + public static final String STOP_SERVE_TIPS = "STOP_SERVE_TIPS"; + //灏忕▼搴忔槸鍚﹀仠姝㈡湇鍔� 0鍚� 1鏄� + public static final String IS_STOP_SERVE = "IS_STOP_SERVE"; + //灏忕▼搴忓仠姝㈠紑濮嬫椂闂� + public static final String STOP_SERVE_STARTTIME = "STOP_SERVE_STARTTIME"; + //灏忕▼搴忓仠姝㈢粨鏉熸椂闂� + public static final String STOP_SERVE_ENDTIME = "STOP_SERVE_ENDTIME"; + //灏忕▼搴忔瘡鏃ユ湇鍔″紑濮嬫椂闂� + public static final String BUSINESS_STARTTIME = "BUSINESS_STARTTIME"; + //灏忕▼搴忔瘡鏃ユ湇鍔$粨鏉熸椂闂� + public static final String BUSINESS_ENDTIME = "BUSINESS_ENDTIME"; public static final String FILES_DIR = "FILES_DIR"; @@ -126,6 +140,52 @@ String rent = "RENT"; } + public interface ActionLogObjType { + int memberrides =0;//楠戣璁板綍 + + } + + public enum ACTIONLOG_TYPE{ + // 0楠戣璁板綍 + FORCE_BACK(0,"寮哄埗杩樿溅","鍚庡彴寮哄埗杩樿溅"), + UPDATE_DURATION(1,"淇敼楠戣鏃堕暱","鍚庡彴淇敼楠戣鏃堕暱") + ; + String name; + + Integer key; + + String info; + + ACTIONLOG_TYPE(Integer key,String name, String info) { + this.name = name; + this.key = key; + this.info = info; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getKey() { + return key; + } + + public void setKey(Integer key) { + this.key = key; + } + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + } public enum GOODSORDER_STATUS{ // 0寰呮敮浠� 1宸叉敮浠� 2宸插彇娑� 3鏀粯澶辫触 4宸茬粨绠� UN_PAY("寰呮敮浠�", 0,"寰呮敮浠�"), @@ -174,6 +234,55 @@ this.info = info; } } + + public enum REFUND_TYPE{ + // '閫�娆剧被鍨� 0鐢ㄦ埛缁撶畻閫�娆� 1骞冲彴鑷姩缁撶畻閫�娆� 2寮哄埗缁撶畻閫�娆� 3缁撶畻鍚庨��娆�' + NORMAL( 0,"鐢ㄦ埛缁撶畻閫�娆�",""), + + PLAT_AUTO( 1,"骞冲彴鑷姩缁撶畻閫�娆�",""), + + PLAT_FORCE( 2,"寮哄埗缁撶畻閫�娆�",""), + + BACK( 3,"缁撶畻鍚庨��娆�",""), + + ; + String name; + + Integer key; + + String info; + + + REFUND_TYPE(Integer key,String name, String info) { + this.name = name; + this.key = key; + this.info = info; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getKey() { + return key; + } + + public void setKey(Integer key) { + this.key = key; + } + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + } public enum MEMBER_RIDES_STATUS{ // 0璇锋眰寮�閿佷腑 1楠戣涓� 2宸茶繕杞� 3寮�閿佸け璐� LOCKING("璇锋眰寮�閿佷腑", 0,"璇锋眰寮�閿佷腑"), -- Gitblit v1.9.3