jiangping
2025-04-10 9f7777c83f2d07c8d83c506ab2a13bc543f47de9
server/src/main/java/com/doumee/core/constants/Constants.java
@@ -188,14 +188,84 @@
     * 文件附件类型
     */
    public interface multiFileType{
        //0SHE上报 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跌绊滑处理 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, "待分配WTS","待分配WTS",""),
        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;
        }
    }
}