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

+ 1 - 1
app/service/school.js

@@ -31,7 +31,7 @@ class SchoolService extends CrudService {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '计划信息不存在');
     }
     // 取得学校预计人数
-    const num_ = this.getschnum(plan, type, schid, termid);
+    const num_ = await this.getschnum(plan, type, schid, termid);
     console.log('*******************');
     console.log(num_);
     console.log('*******************');