From 30e858fa504b268b9b436afca0a1259cf6e8c488 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 19 八月 2025 11:01:40 +0800
Subject: [PATCH] 优化

---
 server/src/main/java/com/doumee/core/constants/Constants.java |  142 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 141 insertions(+), 1 deletions(-)

diff --git a/server/src/main/java/com/doumee/core/constants/Constants.java b/server/src/main/java/com/doumee/core/constants/Constants.java
index 9210c23..db47b51 100644
--- a/server/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/src/main/java/com/doumee/core/constants/Constants.java
@@ -12,6 +12,11 @@
  */
 public class Constants {
 
+    public static final String AZURE_BLOB ="AZURE_BLOB" ;
+    public static final String AZURE_BLOB_ACCESSNAME ="AZURE_BLOB_ACCESSNAME" ;
+    public static final String AZURE_BLOB_ACCESSKEY ="AZURE_BLOB_ACCESSKEY" ;
+    public static final String AZURE_BLOB_ENDPOINT ="AZURE_BLOB_ENDPOINT" ;
+    public static final String AZURE_BLOB_CONTAINER ="AZURE_BLOB_CONTAINER" ;
     public static final String FTP ="FTP" ;
     public static final String FTP_HOST ="FTP_HOST" ;
     public static final String FTP_PORT ="FTP_PORT" ;
@@ -22,20 +27,43 @@
     public static final String QYWX_CORPID = "QYWX_CORPID";
     public static final String QYWX_SECRET = "QYWX_SECRET";
     public static final String QYWX_TOKEN = "QYWX_TOKEN";
+    public static final String QYWX_AGENTID = "QYWX_AGENTID";
+    public static final String QYWX_JS_API_TICKET = "QYWX_JS_API_TICKET";
+    public static final String JUMP_OUT_URL = "JUMP_OUT_URL";
+
+
     public static final String QYWX = "QYWX";
     public static final  Integer ONE = 1;
     public static final Integer TWO = 2;
     public static final Integer ZERO = 0;
+    public static final Integer THREE = 3;
+    public static final Integer FOUR = 4;
+    public static final Integer SIX = 6;
+    public static final Integer FIVE = 5;
+    public static final String QRCODE_URLS = "QRCODE_URLS";
+    public static final String SHE_QRCODES_URL = "SHE_QRCODES_URL";
+    public static final String DCA_QRCODES_URL = "DCA_QRCODES_URL";
+    public static final String DBH_QRCODES_URL = "DBH_QRCODES_URL";
+    public static boolean WORKORDER_SHE_EMAIL_SENDING = false;
     public static  boolean DEALING_COMPANY_SYNC = false ;
     public static  boolean DEALING_MEMBER_SYNC = false ;
+    public static final String WORKORDER_FILE_PATH ="WORKORDER_FILE_PATH" ;
+    public static final String WORKORDER_LOG_FILE_PATH ="WORKORDER_LOG_FILE_PATH" ;
 
     public static final String REDIS_TOKEN_KEY = "token_";
+    public interface   uploadType{
+        String blob = "blob";
+        String ftp = "ftp";
+    }
+
     /**
      * 缂撳瓨Key
      */
     interface CacheKey {
     }
-
+    public interface RedisKeys {
+        public static final String IMPORTING_CATEGORY = "IMPORTING_CATEGORY";
+    }
     /**
      * 鎿嶄綔绫诲瀷锛岀敤浜庡仛鎺ュ彛楠岃瘉鍒嗙粍
      */
@@ -180,4 +208,116 @@
          */
         class IgnoreDate extends Date {}
     }
+
+
+    /**
+     * 鏂囦欢闄勪欢绫诲瀷
+     */
+    public interface multiFileType{
+        //0闂涓婃姤 1璺岀粖婊戜笂鎶� 2璺岀粖婊戝鐞� 3鍒嗛厤鐗╀笟涓荤 4鍒嗛厤澶勭悊浜� 5DCA椋庨櫓涓婃姤 6DCA椋庨櫓澶勭悊 7DCA闂宸ュ崟鍥剧墖
+//        int sheUpload = 0;
+//        int dbhUpload = 1;
+//        int dbhDeal = 2;
+//        int dbhAllocation = 3;
+//        int dbhDealUser = 4;
+//        int dcaUpload = 5;
+//        int dcaDeal = 6;
+//        int dcaWorkOrder= 7;
+
+        //0宸ュ崟涓婃姤 1宸ュ崟澶勭悊 2宸ュ崟杞氦
+        int  upload = 0;
+        int deal = 1;
+        int passOn = 2;
+    }
+
+
+    public enum WorkOrderStatus{
+        waitConfirm( 0, "寰呭垎閰峎TS","{title}涓婃姤","","寰呭垎閰峎TS" ),
+        waitAllocation(1, "寰呭垎閰嶄换鍔�","寰呭垎閰嶄换鍔�","","寰呭垎閰嶄换鍔�"),
+        waitDeal(2, "寰呭鐞�","寰呭鐞�","","寰呭伐绋嬪笀澶勭悊"),
+        sheClose(3, "宸茶В鍐�","SHE宸插叧闂�","","SHE宸插叧闂�"),
+        wtsClose(4, "宸茶В鍐�","WTS宸插叧闂�","","WTS宸插叧闂�"),
+        close(5, "宸茶В鍐�","宸茶В鍐�","","宸ョ▼甯堝叧闂�"),
+        urge (6, "鍌績","","","")
+        ;
+
+        private int status;
+        private String statusInfo;
+        private String statusName;
+        private String logTitle;
+        private String noticeContent;
+
+        // 鏋勯�犳柟娉�
+        WorkOrderStatus(int status, String statusInfo,String logTitle,String noticeContent,String statusName ) {
+            this.status = status;
+            this.statusInfo = statusInfo;
+            this.logTitle = logTitle;
+            this.noticeContent = noticeContent;
+            this.statusName = statusName;
+        }
+        public static String getName(int index) {
+            for (WorkOrderStatus c : WorkOrderStatus.values()) {
+                if (c.getKey() == index) {
+                    return c.statusInfo;
+                }
+            }
+            return null;
+        }
+        public static String getStatusName(int index) {
+            for (WorkOrderStatus c : WorkOrderStatus.values()) {
+                if (c.getKey() == index) {
+                    return c.statusName;
+                }
+            }
+            return null;
+        }
+
+        public int getKey() {
+            return status;
+        }
+
+        public void setKey(int key) {
+            this.status = status;
+        }
+
+        public int getStatus() {
+            return status;
+        }
+
+        public void setStatus(int status) {
+            this.status = status;
+        }
+
+        public String getStatusName() {
+            return statusName;
+        }
+
+        public void setStatusName(String statusName) {
+            this.statusName = statusName;
+        }
+
+        public String getStatusInfo() {
+            return statusInfo;
+        }
+
+        public void setStatusInfo(String statusInfo) {
+            this.statusInfo = statusInfo;
+        }
+
+        public String getLogTitle() {
+            return logTitle;
+        }
+
+        public void setLogTitle(String logTitle) {
+            this.logTitle = logTitle;
+        }
+
+        public String getNoticeContent() {
+            return noticeContent;
+        }
+
+        public void setNoticeContent(String noticeContent) {
+            this.noticeContent = noticeContent;
+        }
+    }
 }

--
Gitblit v1.9.3