liuyu 4 năm trước cách đây
mục cha
commit
c21369ad0e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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('*******************');