|
@@ -327,7 +327,7 @@ namespace TEAMModelOS.FunctionV4
|
|
|
var bindIds = period.subjects.Where(s => !string.IsNullOrWhiteSpace(s.bindId)).Select(x => x.bindId);
|
|
|
//该学段未同步学科的。
|
|
|
var unBindIds = dimension.Where(z => !string.IsNullOrWhiteSpace(z.subjectBind)).Select(x => x.subjectBind).ToHashSet().Except(bindIds);
|
|
|
- if (unBindIds.Any())
|
|
|
+ if (unBindIds.Any() && unBindIds.Count()>0)
|
|
|
{
|
|
|
//尝试寻找同名学科且没有设置bindId的
|
|
|
foreach (var unBindId in unBindIds)
|