xiaof 3 lat temu
rodzic
commit
ffd4cb1d83

+ 3 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/ExamTaskServiceImpl.java

@@ -1935,7 +1935,9 @@ public class ExamTaskServiceImpl extends ServiceImpl<ExamTaskMapper, ExamTask> i
                     studentCount = studentCount + studentCellCount;
                     String clazzIdCell = examPackageDetail.getClazzIds();
                     if(StringUtils.isNotBlank(clazzIdCell)){
-                        clazzIds.add(Long.valueOf(clazzIdCell));
+                        for (String s : clazzIdCell.split(separator)) {
+                            clazzIds.add(Long.valueOf(s));
+                        }
                     }
                 }