|
@@ -172,7 +172,7 @@ namespace TEAMModelOS.FunctionV4
|
|
|
HashSet<string> classIds = new HashSet<string>();
|
|
|
classLists.ForEach(z => {
|
|
|
z.members.ForEach(y => {
|
|
|
- if (y.id.Equals(x) && y.code.Equals(vote.school) && y.type == 2)
|
|
|
+ if (y.id.Equals(x.id) && y.code.Equals(vote.school) && y.type == 2)
|
|
|
{
|
|
|
classIds.Add(z.id);
|
|
|
}
|
|
@@ -217,7 +217,7 @@ namespace TEAMModelOS.FunctionV4
|
|
|
HashSet<string> classIds = new HashSet<string>();
|
|
|
classInfos.ForEach(z => {
|
|
|
z.members.ForEach(y => {
|
|
|
- if (y.id.Equals(x) && y.type == 1)
|
|
|
+ if (y.id.Equals(x.id) && y.type == 1)
|
|
|
{
|
|
|
classIds.Add(z.id);
|
|
|
}
|