liuyu 4 rokov pred
rodič
commit
c21369ad0e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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('*******************');