From add91dff9f6e4809959121d7147212c5273f9ee4 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 七月 2025 09:21:32 +0800
Subject: [PATCH] 111

---
 server/services/src/main/java/com/doumee/core/constants/Constants.java |   93 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 93 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 20d9879..e54f6f7 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
@@ -52,6 +52,7 @@
     public static final String RECEIVE_CANCEL_TIME ="RECEIVE_CANCEL_TIME" ;
     public static final String AUTO_DISPATCH ="AUTO_DISPATCH" ;
     public static final String AUTO_DISPATCH_DISTANCE ="AUTO_DISPATCH_DISTANCE" ;
+    public static final String AUTO_CONFIRM ="AUTO_CONFIRM" ;
 
     public static final String QYWX = "QYWX";
     public static final  Integer ONE = 1;
@@ -410,6 +411,8 @@
         COMMENT(10, "鍙戝崟鏂�-璇勪环瀹屾垚","{userName}瀹屾垚璇勪环",0),
         SYSTEM_CANCEL(11, "绯荤粺-璁㈠崟鍙栨秷","绯荤粺鍙栨秷",2),
         RELEASE_CANCEL(12, "鍙戝崟鏂�-璁㈠崟鍙栨秷","{userName}宸叉墜鍔ㄥ彇娑堣鍗�",0),
+        AUTO_COMMENT(13, "绯荤粺-鑷姩璇勪环","瓒呭嚭7鏃ユ湭璇勪环锛岀郴缁熷凡鑷姩璇勪环",2),
+        AUTO_AGREE(14, "绯荤粺-鑷姩鍚屾剰","鎺ュ崟鏂硅秴鏃舵湭澶勭悊锛屽凡鑷姩鍚屾剰",2),
 
         ;
         // 鎴愬憳鍙橀噺
@@ -479,5 +482,95 @@
     }
 
 
+    public  enum workType {
+        czg(0, "閲囨憳宸�"),
+        fjg(1, "鍒嗘嫞宸�"),
+        bzg(2, "鍖呰宸�"),
+
+        ;
+        // 鎴愬憳鍙橀噺
+        private int key;
+        private String name;
+
+        // 鏋勯�犳柟娉�
+        workType(int key, String name) {
+            this.name = name;
+            this.key = key;
+        }
+
+        // 鏅�氭柟娉�
+        public static String getName(int index) {
+            for (OrdersLog c : OrdersLog.values()) {
+                if (c.getKey() == index) {
+                    return c.name;
+                }
+            }
+            return null;
+        }
+        // get set 鏂规硶
+        public String getName() {
+            return name;
+        }
+
+        public void setName(String name) {
+            this.name = name;
+        }
+
+        public int getKey() {
+            return key;
+        }
+
+        public void setKey(int key) {
+            this.key = key;
+        }
+
+    }
+
+
+    public  enum ordersStatus {
+        waitPay(0, "寰呮敮浠�"),
+        wait(1, "寰呮帴鍗�"),
+        accept(2, "宸叉帴鍗�"),
+        doing(3, "杩涜涓�"),
+        done(4, "宸插畬鎴�"),
+        cancel(99, "宸插彇娑�"),
+        ;
+        // 鎴愬憳鍙橀噺
+        private int key;
+        private String name;
+
+        // 鏋勯�犳柟娉�
+        ordersStatus(int key, String name) {
+            this.name = name;
+            this.key = key;
+        }
+
+        // 鏅�氭柟娉�
+        public static String getName(int index) {
+            for (ordersStatus c : ordersStatus.values()) {
+                if (c.getKey() == index) {
+                    return c.name;
+                }
+            }
+            return null;
+        }
+        // get set 鏂规硶
+        public String getName() {
+            return name;
+        }
+
+        public void setName(String name) {
+            this.name = name;
+        }
+
+        public int getKey() {
+            return key;
+        }
+
+        public void setKey(int key) {
+            this.key = key;
+        }
+
+    }
 
 }

--
Gitblit v1.9.3