|
@@ -1,5 +1,6 @@
|
|
|
package com.fs.course.service.impl;
|
|
|
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.fs.common.utils.DictUtils;
|
|
|
import com.fs.company.cache.ICompanyCacheService;
|
|
@@ -115,6 +116,14 @@ public class FsCourseAnswerLogsServiceImpl implements IFsCourseAnswerLogsService
|
|
|
datum.setProjectName(sysCourseProject);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 是否全部正确
|
|
|
+ if(ObjectUtil.isNotNull(datum.getIsRight())){
|
|
|
+ String sysCompanyOr = DictUtils.getDictLabel("sys_company_or", String.valueOf(datum.getIsRight()));
|
|
|
+ if(StringUtils.isNotBlank(sysCompanyOr)){
|
|
|
+ datum.setIsRightText(sysCompanyOr);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return data;
|