ソースを参照

实时审核过滤费人工审核的考生

yin 8 ヶ月 前
コミット
e080e78c39

+ 4 - 0
src/main/java/cn/com/qmth/scancentral/service/impl/BatchServiceImpl.java

@@ -647,6 +647,10 @@ public class BatchServiceImpl extends ServiceImpl<BatchDao, BatchEntity> impleme
         Map<Long, VerifyStudentVo> studentMap = new LinkedHashMap<>();
         List<BatchDetailDO> list = baseMapper.batchDetailList(batch.getId());
         for (BatchDetailDO item : list) {
+            //过滤非人工绑定
+            if(!item.getAssigned()){
+                continue;
+            }
             VerifyStudentVo student = studentMap.computeIfAbsent(item.getId(), key -> VerifyStudentVo.build(item));
             student.findOrCreatePaper(item).getPages().add(item.getSheetPath());
         }