From aefd11c7a68c88d3dff9e105d3bee72e7f8d9f07 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 23 十一月 2024 17:06:27 +0800
Subject: [PATCH] 开发更新

---
 server/system_service/src/main/java/com/doumee/core/utils/Constants.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
index 201033d..555a93a 100644
--- a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
+++ b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
@@ -33,6 +33,7 @@
     public static final String HK_TOKEN_VALIDITY = "HK_TOKEN_VALIDITY";
     public static final String[]  ALL_SPELL_LIST_FIRST = new String[]{"A", "B", "C", "D", "E", "F", "G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
     public static final int ZERO = 0 ;
+    public static final int SIX = 6 ;
     public static final int ONE = 1 ;
     public static final int TWO = 2 ;
     public static final String HK_PARAM ="HK_PARAM" ;
@@ -222,7 +223,13 @@
        int sgscxh = 4;
     }
 
-
+    public interface patrolTaskStatus{
+        int waitStart = 0;
+        int working= 1;
+        int timeout = 2;
+        int finish =3;
+        int cancel =4;
+    }
     public static  Date  getBirthdyByCardNo(String idCard){
     if(idCard ==null || idCard.length()<14){
         return null;
@@ -453,6 +460,7 @@
         public static final String GOODSORDER_KEY = "ordercode_";
         public static final String ACTIVITY_SIGN_KEY = "actcode_";
         public static final String AFTERSALE_KEY = "salecode_";
+        public static final String PATROL_SCHEME_CODE_KEY = "patrolSchemeCode";
     }
 
 
@@ -470,6 +478,14 @@
         }
         //淇濈暀涓や綅灏忔暟涓斿洓鑸嶄簲鍏�
         d = d.setScale(4, BigDecimal.ROUND_HALF_UP);
+        return  d;
+    }
+    public static BigDecimal formatBigdecimal0Float(BigDecimal d) {
+        if (d == null) {
+            d = new BigDecimal(0.0);
+        }
+        //淇濈暀涓や綅灏忔暟涓斿洓鑸嶄簲鍏�
+        d = d.setScale(0, BigDecimal.ROUND_HALF_UP);
         return  d;
     }
     public static BigDecimal formatBigdecimal2Float(BigDecimal d) {
@@ -509,6 +525,7 @@
     int driver = 0;//鍙告満浜哄憳
     int visitor = 1;//鏅�氳瀹�
     int internal = 2;//鍐呴儴浜哄憳
+    int customer = 3;//瀹㈡埛浜哄憳
 }
 
 

--
Gitblit v1.9.3