|
@@ -1463,6 +1463,15 @@ namespace TEAMModelOS.FunctionV4.ServiceBus
|
|
|
lessonRecord.examCount = lessonBase.summary.examCount;
|
|
|
lessonRecord.totalInteractPoint = lessonBase.summary.totalInteractPoint;
|
|
|
lessonRecord.learningCategory = lessonBase.summary.learningCategory;
|
|
|
+ if (lessonRecord.learningCategory == null)
|
|
|
+ {
|
|
|
+
|
|
|
+ lessonRecord.learningCategory = new LearningCategory();
|
|
|
+ }
|
|
|
+ if (lessonRecord.hitaClientCmpCount > 0) {
|
|
|
+
|
|
|
+ lessonRecord.learningCategory.cooperation = 1;
|
|
|
+ }
|
|
|
if (!string.IsNullOrWhiteSpace(lessonRecord.school))
|
|
|
{
|
|
|
lessonBase.student.ForEach(x =>
|