liuyu 4 jaren geleden
bovenliggende
commit
c21369ad0e
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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('*******************');