lrf402788946 4 年之前
父节点
当前提交
eaac83b388
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      app/service/school.js

+ 7 - 7
app/service/school.js

@@ -48,13 +48,13 @@ class SchoolService extends CrudService {
     if (!plan) {
     if (!plan) {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '计划信息不存在');
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '计划信息不存在');
     }
     }
-    const isOutOfDate = this.outOfDate(plan, termid, batchid);
-    if (!isOutOfDate) {
-      throw new BusinessError(
-        ErrorCode.BUSINESS,
-        '已经超过上报时间,不允许上报名单'
-      );
-    }
+    // const isOutOfDate = this.outOfDate(plan, termid, batchid);
+    // if (!isOutOfDate) {
+    //   throw new BusinessError(
+    //     ErrorCode.BUSINESS,
+    //     '已经超过上报时间,不允许上报名单'
+    //   );
+    // }
     // 取得学校预计人数
     // 取得学校预计人数
     const num_ = await this.getschnum(plan, type, schid, termid, batchid);
     const num_ = await this.getschnum(plan, type, schid, termid, batchid);
     console.log('*******************');
     console.log('*******************');