|
@@ -81,7 +81,7 @@ public class OmrGroupServiceImpl extends ServiceImpl<OmrGroupDao, OmrGroupEntity
|
|
|
public void buildTaskById(Long groupId) {
|
|
|
OmrGroupEntity group = this.getById(groupId);
|
|
|
long start = System.currentTimeMillis();
|
|
|
- List<Long> studentIds = studentPaperService.findStudentIdByExamId(group.getExamId());
|
|
|
+ List<Long> studentIds = studentPaperService.findStudentIdByExamId(group.getExamId(), group.getSubjectCode());
|
|
|
long end = System.currentTimeMillis();
|
|
|
if (CollectionUtils.isEmpty(studentIds)) {
|
|
|
log.info("OmrGroup[" + groupId + "] get studentIds finish | time cost(s):" + ((end - start) / 1000)
|