|
@ -6,6 +6,7 @@ import cn.afterturn.easypoi.excel.entity.ExportParams;
|
6
|
6
|
import cn.afterturn.easypoi.excel.entity.ImportParams;
|
7
|
7
|
import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity;
|
8
|
8
|
import com.css.oa.exam.admin.bean.Admin;
|
|
9
|
import com.css.oa.exam.assign.bean.MyAdmWrap;
|
9
|
10
|
import com.css.oa.exam.assign.repository.Assign;
|
10
|
11
|
import com.css.oa.exam.assign.repository.IAssignRepository;
|
11
|
12
|
import com.css.oa.exam.base.BaseVerifyService;
|
|
@ -20,6 +21,7 @@ import com.css.oa.exam.constants.ExamConfig;
|
20
|
21
|
import com.css.oa.exam.constants.ExportDTO;
|
21
|
22
|
import com.css.oa.exam.exam.repository.Exam;
|
22
|
23
|
import com.css.oa.exam.exam.repository.IExamRepository;
|
|
24
|
import com.css.oa.exam.node.service.NodeQueryService;
|
23
|
25
|
import com.css.oa.exam.score.bean.*;
|
24
|
26
|
import com.css.oa.exam.score.repository.IScoreRepository;
|
25
|
27
|
import com.css.oa.exam.score.repository.Score;
|
|
@ -375,7 +377,17 @@ public class ScoreService extends BaseVerifyService implements IScoreService {
|
375
|
377
|
certificateRepository.saveAll(certifiList);
|
376
|
378
|
}
|
377
|
379
|
|
|
380
|
@Autowired
|
|
381
|
NodeQueryService nodeQueryService;
|
|
382
|
|
378
|
383
|
public Map myScore(String student_id) {
|
|
384
|
if(nodeQueryService.queryScoreIsClose()){
|
|
385
|
List<MyAdmWrap> wraps = new ArrayList<>();
|
|
386
|
Map map = new LinkedHashMap();
|
|
387
|
map.put("total", 0);
|
|
388
|
map.put("list", wraps);
|
|
389
|
return map;
|
|
390
|
}
|
379
|
391
|
Student student = studentRepository.findById(student_id).get();
|
380
|
392
|
List<Score> scores = repository.myScore(student_id);
|
381
|
393
|
setProperties(scores);
|