|
@@ -336,7 +336,7 @@ namespace TEAMModelOS.SDK
|
|
StudyRecord studyRecord= studyRecords.Find(y => y.id.Equals(item.id));
|
|
StudyRecord studyRecord= studyRecords.Find(y => y.id.Equals(item.id));
|
|
HomeworkRecord homeworkRecord= homeworkRecords.Find(y => y.id.Equals(item.id));
|
|
HomeworkRecord homeworkRecord= homeworkRecords.Find(y => y.id.Equals(item.id));
|
|
Attachment attachment = homeworkRecord!=null ? homeworkRecord.content.Find(x => x.prime):null;
|
|
Attachment attachment = homeworkRecord!=null ? homeworkRecord.content.Find(x => x.prime):null;
|
|
- if (!string.IsNullOrEmpty(item.owner) && study != null )
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(item.owner) && study != null && !item.owner.Equals("area") )
|
|
{
|
|
{
|
|
|
|
|
|
OfflineRecord record = new OfflineRecord
|
|
OfflineRecord record = new OfflineRecord
|
|
@@ -347,7 +347,7 @@ namespace TEAMModelOS.SDK
|
|
owner = item.owner
|
|
owner = item.owner
|
|
};
|
|
};
|
|
record.sethour = study.hour;
|
|
record.sethour = study.hour;
|
|
- if (!string.IsNullOrEmpty(study.workId)) {
|
|
|
|
|
|
+ if (!string.IsNullOrEmpty(study.workId) ) {
|
|
record.haswork = 1;
|
|
record.haswork = 1;
|
|
}
|
|
}
|
|
if (null != studyRecord)
|
|
if (null != studyRecord)
|