lrf402788946 před 4 roky
rodič
revize
c80f720e8f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      app/service/class.js

+ 2 - 0
app/service/class.js

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