|
@@ -358,7 +358,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
|
|
|
List<AreaSchool> areaSchool = new();
|
|
|
|
|
|
- string areaScSql = $"select c.id,c.name,c.picture,c.size,c.areaId from c where c.areaId='{areaId}'";
|
|
|
+ string areaScSql = $"select c.id,c.name,c.picture,c.size,c.areaId,c.scale from c where c.areaId='{areaId}'";
|
|
|
await foreach (var item in cosmosClient.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<AreaSchool>(queryText: areaScSql,requestOptions:new QueryRequestOptions() { PartitionKey = new PartitionKey("Base")}))
|
|
|
{
|
|
|
areaSchool.Add(item);
|
|
@@ -487,6 +487,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
public string picture { get; set; }
|
|
|
public int size { get; set; }
|
|
|
public string areaId { get; set; }
|
|
|
+ public int scale { get; set; }
|
|
|
public int serial { get; set; }
|
|
|
public int service { get; set; }
|
|
|
public int hard { get; set; }
|