haogh 1 year ago
parent
commit
c10c2d43f6

+ 0 - 1
src/main/java/com/qmth/exam/reserve/service/impl/StudentApplyServiceImpl.java

@@ -710,7 +710,6 @@ public class StudentApplyServiceImpl extends ServiceImpl<StudentApplyDao, Studen
                         }
                         insertApplyList.add(studentApply);
 
-                        studentApplyLock.unlock();
                         num++;
                         if (student.getApplyNumber() - (studentApplyList.size() + 1) == 0) {
                             iterator.remove();