|
@@ -19,6 +19,7 @@ import com.qmth.teachcloud.common.bean.dto.QuestionDTO;
|
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
|
import com.qmth.teachcloud.common.entity.BasicAttachment;
|
|
|
import com.qmth.teachcloud.common.entity.SysConfig;
|
|
|
+import com.qmth.teachcloud.common.entity.SysOrg;
|
|
|
import com.qmth.teachcloud.common.entity.SysUser;
|
|
|
import com.qmth.teachcloud.common.enums.ExceptionResultEnum;
|
|
|
import com.qmth.teachcloud.common.enums.SyncFileTypeEnum;
|
|
@@ -443,7 +444,8 @@ public class DataSyncServiceImpl implements DataSyncService {
|
|
|
String examNumber = examStudent.getTicketNumber();
|
|
|
String studentCode = examStudent.getStudentCode();
|
|
|
String name = examStudent.getStudentName();
|
|
|
- String college = "无";
|
|
|
+ SysOrg sysOrg = examStudentService.getSysOrgByBelongOrgId(studentCode);
|
|
|
+ String college = Objects.nonNull(sysOrg) && StringUtils.isNotBlank(sysOrg.getName()) ? sysOrg.getName() : "无";
|
|
|
String className = StringUtils.isBlank(examStudent.getClazzName()) ? getClassName(examStudent.getExtendFields()) : examStudent.getClazzName();
|
|
|
String teacher = "无";
|
|
|
String subjectCode = examStudent.getPaperNumber() + examStudent.getPaperType(); // 取试卷编号
|