| | |
| | | package com.fzzy.igds.constant; |
| | | |
| | | /** |
| | | * @Description 工单状态 |
| | | * @Author CZT |
| | | * @Date 2025/11/25 15:29 |
| | | * |
| | | */ |
| | | public enum AuditStatus { |
| | | Status_10("10", "待审批"), |
| | | Status_20("20", "通过"), |
| | | Status_30("30", "拒绝"), |
| | | Status_40("40", "退回"); |
| | | STATUS_10("10", "待审批"), |
| | | STATUS_20("20", "通过"), |
| | | |
| | | STATUS_21("21", "库区审批"), |
| | | STATUS_22("22", "监管审批"), |
| | | STATUS_23("22", "银行审批"), |
| | | |
| | | STATUS_30("30", "拒绝"), |
| | | STATUS_40("40", "退回"); |
| | | |
| | | private String code; |
| | | private String msg; |
| | |
| | | |
| | | public static String getMsg(String code) { |
| | | if(null == code) return null; |
| | | |
| | | if(AuditStatus.Status_10.getCode().equals(code)) return AuditStatus.Status_10.getMsg(); |
| | | if(AuditStatus.Status_20.getCode().equals(code)) return AuditStatus.Status_20.getMsg(); |
| | | if(AuditStatus.Status_30.getCode().equals(code)) return AuditStatus.Status_30.getMsg(); |
| | | if(AuditStatus.Status_40.getCode().equals(code)) return AuditStatus.Status_40.getMsg(); |
| | | |
| | | if(AuditStatus.STATUS_10.getCode().equals(code)) return AuditStatus.STATUS_10.getMsg(); |
| | | if(AuditStatus.STATUS_20.getCode().equals(code)) return AuditStatus.STATUS_20.getMsg(); |
| | | if(AuditStatus.STATUS_21.getCode().equals(code)) return AuditStatus.STATUS_21.getMsg(); |
| | | if(AuditStatus.STATUS_22.getCode().equals(code)) return AuditStatus.STATUS_22.getMsg(); |
| | | if(AuditStatus.STATUS_23.getCode().equals(code)) return AuditStatus.STATUS_23.getMsg(); |
| | | if(AuditStatus.STATUS_30.getCode().equals(code)) return AuditStatus.STATUS_30.getMsg(); |
| | | if(AuditStatus.STATUS_40.getCode().equals(code)) return AuditStatus.STATUS_40.getMsg(); |
| | | return code; |
| | | } |
| | | |