deason 1 tahun lalu
induk
melakukan
897cd9f44f

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

@@ -68,7 +68,7 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryDao, CategoryEntity
 
         // 获取当前启用的预约任务
         CurrentApplyTaskVO curApplyTask = applyTaskService.currentApplyTask();
-        if (curApplyTask.getSelfApplyEndTime() > System.currentTimeMillis() - 1000000) {
+        if (curApplyTask.getSelfApplyEndTime() > System.currentTimeMillis()) {
             // 自主预约截止时间 之前,只能预约本教学点下的考点
 
             CategoryEntity curEntity = this.getById(student.getCategoryId());