|
@@ -43,10 +43,10 @@ class LessonService extends CrudService {
|
|
|
const sedays = await this.getAllDays(batch.startdate, batch.enddate);
|
|
|
// 根据批次取得当前批次下所有班级
|
|
|
const _classs = await this.clamodel.find({ planid: id, termid: elm.id, batchid: batch.id });
|
|
|
- // 记录天数
|
|
|
- let i = 1;
|
|
|
// 循环班级
|
|
|
for (const cla of _classs) {
|
|
|
+ // 记录天数
|
|
|
+ let i = 1;
|
|
|
// 循环天数
|
|
|
const newlesson = [];
|
|
|
for (const day of sedays) {
|