| | |
| | | * @date 2026-01-19 |
| | | */ |
| | | @Getter |
| | | @AllArgsConstructor |
| | | public enum PatrolTaskStatusEnum { |
| | | |
| | | /** |
| | | * 待签收 |
| | | */ |
| | | PENDING_SIGNING("0", "待签收","待签收"), |
| | | PENDING_SIGNING("0", "待签收","巡检任务拆分"), |
| | | |
| | | /** |
| | | * 拒绝签收 |
| | |
| | | /** |
| | | * 待审核 |
| | | */ |
| | | PENDING_AUDIT("3", "待审核","待审核"), |
| | | PENDING_AUDIT("3", "待审核","待签收"), |
| | | |
| | | /** |
| | | * 审核驳回 |
| | |
| | | @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; |
| | | } |
| | | |
| | | /** |
| | | * 根据值获取对应的枚举 |
| | | * |