Browse Source

Merge branch 'master' into develop

CrazyIter_Bin 3 năm trước cách đây
mục cha
commit
8f01944f10
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      TEAMModelOS.FunctionV4/ServiceBus/ActiveTaskTopic.cs

+ 8 - 0
TEAMModelOS.FunctionV4/ServiceBus/ActiveTaskTopic.cs

@@ -1167,6 +1167,14 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
                                         lessonRecord.clientInteractionAverge = lessonBase.summary.clientInteractionAverge;
                                         lessonRecord.examCount = lessonBase.summary.examCount;
                                         lessonRecord.totalInteractPoint = lessonBase.summary.totalInteractPoint;
+                                        if (!string.IsNullOrWhiteSpace(lessonRecord.school)) {
+                                            lessonBase.student.ForEach(x => {
+                                                if (string.IsNullOrWhiteSpace(x.school))
+                                                {
+                                                    x.school = lessonRecord.school;
+                                                }
+                                            });
+                                        }
                                         LessonStudentRecord lessonStudentRecord = new LessonStudentRecord
                                         {
                                             clientSummaryList = lessonBase.report.clientSummaryList,