lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
f0588c9c1a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 };
       const dirIsBefore = moment().isSameOrBefore(classInfo.startdate);
+      console.log(`${classInfo.headteacher}-${dirIsBefore}`);
       if (dirIsBefore) {
         noticeList.push(data);
         if (lydata) {