lrf402788946 4 years ago
parent
commit
f0588c9c1a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/service/lesson.js

+ 1 - 0
app/service/lesson.js

@@ -323,6 +323,7 @@ class LessonService extends CrudService {
       // 整理信息
       // 整理信息
       data = { ...data, ...defaults, termid, classid, planyearid, planid };
       data = { ...data, ...defaults, termid, classid, planyearid, planid };
       const dirIsBefore = moment().isSameOrBefore(classInfo.startdate);
       const dirIsBefore = moment().isSameOrBefore(classInfo.startdate);
+      console.log(`${classInfo.headteacher}-${dirIsBefore}`);
       if (dirIsBefore) {
       if (dirIsBefore) {
         noticeList.push(data);
         noticeList.push(data);
         if (lydata) {
         if (lydata) {