| | |
| | | @ApiModelProperty(value = "状态 2=已处理 1=改派中") |
| | | private Integer reassignmentStatus; |
| | | |
| | | @ApiModelProperty(value = "任务来源 1-运维APP 2-管理后台") |
| | | @ApiModelProperty(value = "任务来源 1-运维APP 2-管理后台 3-远程代驾") |
| | | private Integer taskSource; |
| | | |
| | | @ApiModelProperty(value = "申请改派的用户id") |
| | | @ApiModelProperty(value = "申请改派的用户") |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private List<Long> excluded; |
| | | private List<Reject> excluded; |
| | | |
| | | |
| | | public Reject reject(String msg) { |
| | | Reject reject = new Reject(); |
| | | reject.setRejectTime(LocalDateTime.now().toString()); |
| | | reject.setRejectUserId(handleUserId); |
| | | reject.setRejectReason(msg); |
| | | return reject; |
| | | } |
| | | @Data |
| | | public static class Reject { |
| | | |
| | | @ApiModelProperty(value = "拒绝原因") |
| | | private String rejectReason; |
| | | |
| | | @ApiModelProperty(value = "拒绝时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private String rejectTime; |
| | | |
| | | @ApiModelProperty(value = "拒绝人id") |
| | | private String rejectUserId; |
| | | |
| | | @ApiModelProperty(value = "拒绝人姓名") |
| | | private String rejectUserName; |
| | | |
| | | |
| | | @ApiModelProperty(value = "拒绝人角色名称") |
| | | private String rejectUserRoleName; |
| | | } |
| | | } |