|
@@ -577,8 +577,6 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
|
|
|
if ($"{order}".Equals("desc"))
|
|
|
stringBuilder.Append(" order by c.createTime desc");
|
|
|
- else
|
|
|
- stringBuilder.Append(" order by c.createTime asc");
|
|
|
|
|
|
if (!string.IsNullOrEmpty($"{tmdId}"))
|
|
|
{
|
|
@@ -815,8 +813,6 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
|
|
|
if ($"{order}".Equals("desc"))
|
|
|
sqlTxt.Append(" order by c.createTime desc");
|
|
|
- else
|
|
|
- sqlTxt.Append(" order by c.createTime asc");
|
|
|
|
|
|
await foreach (var itemSchool in cosmosClient.GetContainer("TEAMModelOS", "School").GetItemQueryIterator<AssistSchool>(queryText: sqlTxt.ToString(), requestOptions: new QueryRequestOptions() { PartitionKey = new PartitionKey("Base") }))
|
|
|
{
|
|
@@ -828,8 +824,6 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
{
|
|
|
if ($"{order}".Equals("desc"))
|
|
|
stringBuilder.Append(" order by c.createTime desc");
|
|
|
- else
|
|
|
- stringBuilder.Append(" order by c.createTime asc");
|
|
|
|
|
|
scCnt = await CommonFind.GetSqlValueCount(cosmosClient, "School", scCntSql.ToString(), "Base");
|
|
|
|