From 77b52c06afdb843ee67c6e938afab0458143d76f Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期五, 05 九月 2025 10:48:48 +0800 Subject: [PATCH] 前端 --- server/services/src/main/java/com/doumee/core/constants/Constants.java | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 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 14afe17..cb06d9a 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 @@ -76,6 +76,12 @@ public static final String WORKORDER_LOG_FILE_PATH ="WORKORDER_LOG_FILE_PATH" ; public static final String REDIS_TOKEN_KEY = "token_"; + + public static final String SUCCESS = "SUCCESS"; + public static final String FAIL = "FAIL"; + public static final String CANCELLED = "CANCELLED"; + + public interface uploadType{ String blob = "blob"; String ftp = "ftp"; @@ -136,6 +142,12 @@ d = 0L; } return d.longValue(); + } + public static BigDecimal formatBigDecimal(BigDecimal d) { + if (d == null) { + new BigDecimal(0); + } + return d; } /** @@ -433,6 +445,8 @@ AUTO_COMMENT(13, "绯荤粺-鑷姩璇勪环","瓒呭嚭7鏃ユ湭璇勪环锛岀郴缁熷凡鑷姩璇勪环",2), AUTO_AGREE(14, "绯荤粺-鑷姩鍚屾剰","鎺ュ崟鏂硅秴鏃舵湭澶勭悊锛屽凡鑷姩鍚屾剰",2), + FEE_CONFIRM(15, "鎺ュ崟鏂�-纭璐圭敤","{userName}宸茬‘璁よ垂鐢�",1), + ; // 鎴愬憳鍙橀噺 private String name; @@ -552,6 +566,7 @@ accept(2, "宸叉帴鍗�"), doing(3, "杩涜涓�"), done(4, "宸插畬鎴�"), + feeconfirm(5, "宸茬‘璁よ垂鐢�"), cancel(99, "宸插彇娑�"), ; // 鎴愬憳鍙橀噺 @@ -641,7 +656,7 @@ public enum smsContent { - accept(0, "SMS_491325122","鎮ㄧ殑{order}璁㈠崟宸茶鎺ュ崟锛佹椂闂达細{time1}-{time2}锛屾帴鍗曟柟锛歿name}銆�"), + accept(0, "SMS_491325122","鎮ㄧ殑{order}璁㈠崟宸茶鎺ュ崟锛佹椂闂达細{time1}-{time2}锛屽彲杩涘叆灏忕▼搴忚仈绯绘帴鍗曟柟銆�"), receiveCancel(1, "SMS_491055243","鎮ㄧ殑{order}璁㈠崟锛屾椂闂达細{time1}-{time2}锛屽凡琚帴鍗曟柟鍙栨秷锛岃鍗曞凡閲嶆柊杩涘叆鎺ュ崟澶у巺銆�"), platformCancel(2, "SMS_491375152","鎮ㄧ殑{order}璁㈠崟锛屾椂闂达細{time1}-{time2},宸茬敱骞冲彴鍙栨秷銆傚鏈夌枒闂鑱旂郴瀹㈡湇銆�"), agreeUpd(3, "SMS_491190259","鎺ュ崟鏂瑰凡鍚屾剰鎮ㄥ皢{order}鐨勮鍗曟椂闂翠慨鏀逛负{time1}鑷硔time2}銆�"), -- Gitblit v1.9.3