From d891f06d0a46d2e89df61c600e17f4892b3523c8 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 11 四月 2025 11:15:27 +0800 Subject: [PATCH] 代码初始化 --- server/src/main/java/com/doumee/core/constants/Constants.java | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/server/src/main/java/com/doumee/core/constants/Constants.java b/server/src/main/java/com/doumee/core/constants/Constants.java index 6bd764f..023db47 100644 --- a/server/src/main/java/com/doumee/core/constants/Constants.java +++ b/server/src/main/java/com/doumee/core/constants/Constants.java @@ -182,4 +182,90 @@ */ class IgnoreDate extends Date {} } + + + /** + * 鏂囦欢闄勪欢绫诲瀷 + */ + public interface multiFileType{ + //0闂涓婃姤 1璺岀粖婊戜笂鎶� 2璺岀粖婊戝鐞� 3鍒嗛厤鐗╀笟涓荤 4鍒嗛厤澶勭悊浜� 5DCA椋庨櫓涓婃姤 6DCA椋庨櫓澶勭悊 7DCA闂宸ュ崟鍥剧墖 +// int sheUpload = 0; +// int dbhUpload = 1; +// int dbhDeal = 2; +// int dbhAllocation = 3; +// int dbhDealUser = 4; +// int dcaUpload = 5; +// int dcaDeal = 6; +// int dcaWorkOrder= 7; + + //0宸ュ崟涓婃姤 1宸ュ崟澶勭悊 2宸ュ崟杞氦 + int upload = 0; + int deal = 1; + int passOn = 2; + } + + + public enum WorkOrderStatus{ + waitConfirm( 0, "寰呭垎閰峎TS","{title}涓婃姤",""), + waitAllocation(1, "寰呭垎閰嶄换鍔�","寰呭垎閰嶄换鍔�",""), + waitDeal(2, "寰呭鐞�","寰呭鐞�",""), + sheClose(3, "宸茶В鍐�","SHE宸插叧闂�",""), + wtsClose(4, "宸茶В鍐�","WTS宸插叧闂�",""), + close(5, "宸茶В鍐�","宸茶В鍐�",""), + urge (6, "鍌績","","") + ; + + private int status; + private String statusInfo; + private String logTitle; + private String noticeContent; + + // 鏋勯�犳柟娉� + WorkOrderStatus(int status, String statusInfo,String logTitle,String noticeContent ) { + this.status = status; + this.statusInfo = statusInfo; + this.logTitle = logTitle; + this.noticeContent = noticeContent; + } + public static String getName(int index) { + for (WorkOrderStatus c : WorkOrderStatus.values()) { + if (c.getKey() == index) { + return c.statusInfo; + } + } + return null; + } + + public int getKey() { + return status; + } + + public void setKey(int key) { + this.status = status; + } + + public String getStatusInfo() { + return statusInfo; + } + + public void setStatusInfo(String statusInfo) { + this.statusInfo = statusInfo; + } + + public String getLogTitle() { + return logTitle; + } + + public void setLogTitle(String logTitle) { + this.logTitle = logTitle; + } + + public String getNoticeContent() { + return noticeContent; + } + + public void setNoticeContent(String noticeContent) { + this.noticeContent = noticeContent; + } + } } -- Gitblit v1.9.3