|
|
@@ -41,6 +41,9 @@ public class TaskRegisterVo<T> {
|
|
|
@ApiModelProperty(value = "计划结束时间")
|
|
|
private Date planEndTime;
|
|
|
|
|
|
+ @ApiModelProperty(value = "检查时间")
|
|
|
+ private Date submitTime;
|
|
|
+
|
|
|
@ApiModelProperty(value = "检查机构id")
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
private Long checkOrgId;
|
|
|
@@ -72,9 +75,15 @@ public class TaskRegisterVo<T> {
|
|
|
@ApiModelProperty(value = "任务状态")
|
|
|
private Integer status;
|
|
|
|
|
|
+ @ApiModelProperty(value = "异常数")
|
|
|
+ private Integer exceptionCount;
|
|
|
+
|
|
|
@ApiModelProperty(value = "授权目标用户id")
|
|
|
private Long grantUserId;
|
|
|
|
|
|
+ @ApiModelProperty
|
|
|
+ private String submitBy;
|
|
|
+
|
|
|
@ApiModelProperty(value = "检查列表")
|
|
|
private List<T> checkList;
|
|
|
|
|
|
@@ -86,6 +95,7 @@ public class TaskRegisterVo<T> {
|
|
|
vo.setStatus(task.getStatus());
|
|
|
vo.setPlanStartTime(task.getPlanStartTime());
|
|
|
vo.setPlanEndTime(task.getPlanEndTime());
|
|
|
+ vo.setSubmitTime(task.getSubmitTime());
|
|
|
vo.setCheckOrgId(task.getCheckOrgId());
|
|
|
vo.setCheckOrgName(task.getCheckOrgName());
|
|
|
vo.setBeCheckedOrgId(task.getOrgId());
|
|
|
@@ -95,7 +105,8 @@ public class TaskRegisterVo<T> {
|
|
|
vo.setCheckRoles(checkRoles);
|
|
|
vo.setYmdDate(task.getYmdDate());
|
|
|
vo.setGrantUserId(task.getGrantUserId());
|
|
|
-
|
|
|
+ vo.setExceptionCount(task.getExceptionCount().intValue());
|
|
|
+ vo.setSubmitBy(task.getSubmitBy());
|
|
|
return vo;
|
|
|
}
|
|
|
}
|