| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.EnumValue; |
| | | import com.fasterxml.jackson.annotation.JsonValue; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Getter; |
| | | |
| | | /** |
| | |
| | | * @date 2026-01-19 |
| | | */ |
| | | @Getter |
| | | @AllArgsConstructor |
| | | public enum PatrolTaskStatusEnum { |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 审核通过 |
| | | */ |
| | | AUDIT_PASSED("5", "审核通过","待审核"), |
| | | AUDIT_PASSED("5", "审核通过","审核通过"), |
| | | |
| | | /** |
| | | * 待验收 |
| | | */ |
| | | PENDING_ACCEPTANCE("6", "待验收","待审核"), |
| | | PENDING_ACCEPTANCE("6", "待验收","待验收"), |
| | | |
| | | /** |
| | | * 拒绝验收 |
| | |
| | | @JsonValue |
| | | private final String stageDesc; |
| | | |
| | | PatrolTaskStatusEnum(String stageDesc) { |
| | | this.value = ""; |
| | | this.desc = ""; |
| | | this.stageDesc = stageDesc; |
| | | } |
| | | |
| | | PatrolTaskStatusEnum(String value, String desc, String stageDesc) { |
| | | this.value = value; |
| | | this.desc = desc; |
| | | this.stageDesc = stageDesc; |
| | | } |
| | | |
| | | /** |
| | | * 根据值获取对应的枚举 |
| | | * |