From f1864f6d2d85b49fc901b22e9f6759a5d0fb360b Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 26 十一月 2024 09:33:03 +0800 Subject: [PATCH] 开发更新 --- server/system_service/src/main/java/com/doumee/core/utils/Constants.java | 83 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 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 3236783..5e2a5af 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 @@ -51,6 +51,7 @@ public static final String SPECIAL_COMPANY_ID ="SPECIAL_COMPANY_ID" ; public static final String YW_DEVICE ="YW_DEVICE" ; public static final String YW_PATROL ="YW_PATROL" ; + public static final String YW_CONTRACT_BILL ="YW_CONTRACT_BILL" ; public static final String RESERVATION_TOTAL_NUM ="RESERVATION_TOTAL_NUM" ; public static final String SIGN_IN_PLACE_LAT ="SIGN_IN_PLACE_LAT" ; @@ -117,6 +118,7 @@ public static final String ERP ="ERP" ; public static final Integer THREE =3 ; public static final Integer FOUR =4 ; + public static final Integer SEVEN =7 ; public static final Integer FIVE =5 ; public static final String ORG_USER_ORIGIN = "ORG_USER_ORIGIN"; public static final String VIRTUAL_CARD_INDEX = "02098469790"; @@ -212,6 +214,19 @@ public static final int custom = 4; public static final int self = -1; } + + + /** + * 璐﹀崟绫诲瀷 0绉熻祦鏉℃ 1鐗╀笟鏉℃ 2绉熻祦鎶奸噾 3鐗╀笟鎶奸噾 4鑷缓璐﹀崟 + */ + public interface contractBillType{ + int lease = 0; + int property= 1; + int leaseDeposit = 2; + int propertyDeposit =3; + int create =4; + } + /** * 浣滀笟绫诲瀷 0鑷湁杞﹀嵏璐� 1鑷湁杞﹁璐� 2澶栧崗杞﹀嵏璐� 3澶栧崗杞﹁璐� 4甯傚叕鍙稿鍗忚溅鍗歌揣 @@ -1293,6 +1308,74 @@ return noteinfo; } + } + + /** + * 杩愮淮鍚堝悓銆佸伐鍗曚俊鎭褰曠被鍨� + * 鎿嶄綔绫诲瀷 0宸ュ崟鍒涘缓 1鎸囨淳 2澶勭悊 3鍚堝悓鍒涘缓 4鍚堝悓鍙樻洿 5鍚堝悓閫�绉� + */ + public enum YwLogType{ + WORKORDER_CREATE(0, "宸ュ崟鍒涘缓", "宸ュ崟鍒涘缓"), + WORKORDER_DISPATCH(1, "宸ュ崟鎸囨淳", "宸ュ崟鎸囨淳"), + WORKORDER_DEAL(2, "宸ュ崟澶勭悊 ", "宸ュ崟澶勭悊 "), + CONTRACT_CREATE(3, "鍚堝悓鍒涘缓 ", "鍚堝悓鍒涘缓 "), + CONTRACT_UPDATE(4, "鍚堝悓鍙樻洿 ", "鍚堝悓鍙樻洿 "), + CONTRACT_BACK(5, "鍚堝悓閫�绉� ", "鍚堝悓閫�绉� "), + + ; + // 鎴愬憳鍙橀噺 + private String name; + private int key; + private String noteinfo;// 鎻忚堪 + + // 鏋勯�犳柟娉� + YwLogType(int key, String name, String noteinfo) { + this.name = name; + this.key = key; + this.noteinfo = noteinfo; + } + + // 鏅�氭柟娉� + public static String getName(int index) { + for (MultiFile c : MultiFile.values()) { + if (c.getKey() == index) { + return c.name; + } + } + return null; + } + + // 鏅�氭柟娉� + public static String getInfo(int index) { + for (YwLogType c : YwLogType.values()) { + if (c.getKey() == index) { + return c.noteinfo; + } + } + 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 String getNoteinfo() { + return noteinfo; + } + } -- Gitblit v1.9.3