lrf402788946 4 년 전
부모
커밋
615168d6c1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/service/class.js

+ 1 - 0
app/service/class.js

@@ -166,6 +166,7 @@ class ClassService extends CrudService {
     assert(id, '班级id为必填项');
     // 根据全年计划表id查出对应的全年计划详细信息
     const trainplan = await this.tmodel.findOne({ 'termnum.batchnum.class._id': ObjectId(id) });
+    console.log(trainplan);
     if (!trainplan) {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '全年计划信息不存在');
     }