From b142b67b25531fa9df35bb42500596bd7616f319 Mon Sep 17 00:00:00 2001 From: renkang <8417338+k94314517@user.noreply.gitee.com> Date: 星期六, 23 十一月 2024 17:18:10 +0800 Subject: [PATCH] 客户资料 巡检任务业务 --- server/system_service/src/main/java/com/doumee/core/utils/Constants.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 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 9113018..eca4a9b 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" ; @@ -209,6 +210,19 @@ public static final int depart = 3; public static final int custom = 4; public static final int self = -1; + } + + + + public interface BillPayStatus{ + //璁垮鐘舵��(0:鏈鍒�,1:宸茬鍒�,2:宸茬閫�,3:婊炵暀,4:鏈闂�,5:鑷姩绛剧,6:鏈閫�) + int waitSign = 0; + int signin= 1; + int signout = 2; + int noleave =3; + int novisit =4; + int autoOut =5; + int noSignout =6; } /** @@ -479,6 +493,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) { if (d == null) { d = new BigDecimal(0.0); @@ -516,6 +538,7 @@ int driver = 0;//鍙告満浜哄憳 int visitor = 1;//鏅�氳瀹� int internal = 2;//鍐呴儴浜哄憳 + int customer = 3;//瀹㈡埛浜哄憳 } @@ -1225,6 +1248,7 @@ FN_DEVICE_FILE(5, "闃滃畞鏈嶅姟骞冲彴璁惧绫诲瀷鍥剧墖 ", "闃滃畞鏈嶅姟骞冲彴璁惧绫诲瀷鍥剧墖 "), FN_DEVICE_RECORD_FILE(6, "闃滃畞鏈嶅姟骞冲彴杩愮淮璁板綍鍥剧墖 ", "闃滃畞鏈嶅姟骞冲彴杩愮淮璁板綍鍥剧墖 "), FN_PATROL_POINT_FILE(7, "宸℃鐐归檮浠� ", "宸℃鐐归檮浠� "), + FN_CONTRACT_BILL_FILE(8, "鍚堝悓璐﹀崟闄勪欢 ", "鍚堝悓璐﹀崟闄勪欢 "), ; // 鎴愬憳鍙橀噺 private String name; -- Gitblit v1.9.3