|  | @@ -6,6 +6,7 @@ import java.util.List;
 | 
	
		
			
				|  |  |  import com.fasterxml.jackson.annotation.JsonFormat;
 | 
	
		
			
				|  |  |  import com.fasterxml.jackson.databind.annotation.JsonSerialize;
 | 
	
		
			
				|  |  |  import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
 | 
	
		
			
				|  |  | +import com.xunmei.common.core.vo.IdNameVo;
 | 
	
		
			
				|  |  |  import com.xunmei.core.safetyCheck.domain.CoreSafetyTask;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiModelProperty;
 | 
	
		
			
				|  |  |  import lombok.Builder;
 | 
	
	
		
			
				|  | @@ -24,7 +25,7 @@ public class TaskRegisterVo<T> {
 | 
	
		
			
				|  |  |      private String taskName;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiModelProperty(value = "检查角色")
 | 
	
		
			
				|  |  | -    private String checkRoleNames;
 | 
	
		
			
				|  |  | +    private List<IdNameVo> checkRoles;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiModelProperty(value = "计划id")
 | 
	
		
			
				|  |  |      @JsonSerialize(using = ToStringSerializer.class)
 | 
	
	
		
			
				|  | @@ -66,10 +67,13 @@ public class TaskRegisterVo<T> {
 | 
	
		
			
				|  |  |      @ApiModelProperty(value = "任务状态")
 | 
	
		
			
				|  |  |      private Integer status;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiModelProperty(value = "授权目标用户id")
 | 
	
		
			
				|  |  | +    private Long grantUserId;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      @ApiModelProperty(value = "检查列表")
 | 
	
		
			
				|  |  |      private List<T> checkList;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    public static TaskRegisterVo of(CoreSafetyTask task, String beCheckOrgType, String checkRoleNames) {
 | 
	
		
			
				|  |  | +    public static TaskRegisterVo of(CoreSafetyTask task, String beCheckOrgType, List<IdNameVo> checkRoles) {
 | 
	
		
			
				|  |  |          TaskRegisterVo vo = new TaskRegisterVo();
 | 
	
		
			
				|  |  |          vo.setId(task.getId());
 | 
	
		
			
				|  |  |          vo.setTaskName(task.getTitle());
 | 
	
	
		
			
				|  | @@ -82,9 +86,11 @@ public class TaskRegisterVo<T> {
 | 
	
		
			
				|  |  |          vo.setBeCheckedOrgName(task.getOrgName());
 | 
	
		
			
				|  |  |          vo.setBeCheckOrgType(beCheckOrgType);
 | 
	
		
			
				|  |  |          vo.setCheckTeam(task.getCheckTeam());
 | 
	
		
			
				|  |  | -        vo.setCheckRoleNames(checkRoleNames);
 | 
	
		
			
				|  |  | +        vo.setCheckRoles(checkRoles);
 | 
	
		
			
				|  |  |          vo.setStatus(task.getDoneStatus());
 | 
	
		
			
				|  |  |          vo.setYmdDate(task.getYmdDate());
 | 
	
		
			
				|  |  | +        vo.setGrantUserId(task.getGrantUserId());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          return  vo;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  }
 |