|
@@ -805,7 +805,7 @@ namespace TEAMModelOS.Controllers
|
|
|
//TODO : 進階查詢選項調整、部分地方可用並行處理
|
|
|
//以學校學生角度去抓資料
|
|
|
Dictionary<string, List<(string id, string name, string pic, int year, string no)>> dicClassStuds = new Dictionary<string, List<(string id, string name, string pic, int year, string no)>>();
|
|
|
- List<(string id, string name, string pic, string year, string no)> notJoinClassStuds = new List<(string id, string name, string pic, string year, string no)>();
|
|
|
+ List<(string id, string name, string pic, int year, string no)> notJoinClassStuds = new List<(string id, string name, string pic, int year, string no)>();
|
|
|
|
|
|
string queryText = $"SELECT c.id, c.name, c.picture, c.year, c.classId, c.no FROM c WHERE c.code = 'Base-{schoolId}'";
|
|
|
|
|
@@ -840,7 +840,7 @@ namespace TEAMModelOS.Controllers
|
|
|
acc.GetProperty("id").GetString(),
|
|
|
acc.GetProperty("name").GetString(),
|
|
|
acc.GetProperty("picture").GetString(),
|
|
|
- acc.GetProperty("year").GetString(),
|
|
|
+ acc.GetProperty("year").GetInt32(),
|
|
|
acc.GetProperty("no").GetString()
|
|
|
)
|
|
|
);
|