|
|
|
@ -20,6 +20,7 @@ import com.project.information.domain.entity.ProductLineEntity; |
|
|
|
import com.project.information.domain.service.ProductLineBaseService; |
|
|
|
import com.project.information.utils.MinIoUtils; |
|
|
|
import com.project.task.domain.dto.TaskUserDTO; |
|
|
|
import com.project.task.domain.entity.TaskUserEntity; |
|
|
|
import com.project.task.domain.service.TaskUserBaseService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
@ -112,8 +113,11 @@ public class AdminSearchExamRecordDomainServiceImpl implements AdminSearchExamRe |
|
|
|
dto.setPassHtml(ExamRecordPassTextEnum.Fail.getHtml()); |
|
|
|
} |
|
|
|
|
|
|
|
TaskUserDTO taskUserDTO = taskUserBaseService.getById(dto.getTaskUserId()).toDTO(TaskUserDTO::new); |
|
|
|
dto.setUserName(taskUserDTO.getUserName()); |
|
|
|
TaskUserEntity taskUser = taskUserBaseService.getById(dto.getTaskUserId()); |
|
|
|
if (taskUser != null){ |
|
|
|
TaskUserDTO taskUserDTO = taskUserBaseService.getById(dto.getTaskUserId()).toDTO(TaskUserDTO::new); |
|
|
|
dto.setUserName(taskUserDTO.getUserName()); |
|
|
|
} |
|
|
|
|
|
|
|
return dto; |
|
|
|
} |
|
|
|
|