Parcourir la source

app2.0 一卡通时间排序

临城职教中职
ndbs il y a 2 ans
Parent
révision
02b1f2162a
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +1
    -3
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/MealCardRunTab/MealCardRunTabService.cs
  2. +3
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/MealCardRunTab/list.vue

+ 1
- 3
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/MealCardRunTab/MealCardRunTabService.cs Voir le fichier

@@ -220,9 +220,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("endTime", queryParam["EndTime"].ToDate(), DbType.DateTime);
strSql.Append(" AND ( t.occurTime >= @startTime AND t.occurTime <= @endTime ) ");
}
var data = this.BaseRepository("CollegeMIS").FindList<MealCardRunTabEntity>(strSql.ToString(), dp, pagination);
data = data.OrderByDescending(x => x.centralTm);
return data;
return this.BaseRepository("CollegeMIS").FindList<MealCardRunTabEntity>(strSql.ToString(), dp, pagination);
}
catch (Exception ex)
{


+ 3
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/MealCardRunTab/list.vue Voir le fichier

@@ -188,7 +188,9 @@
let _postParam = {
pagination: {
rows: _this.rows,
page: _this.page
page: _this.page,
sidx: 'centralTm',
sord: 'desc',
},
queryJson: JSON.stringify(_this.multipleData)
};


Chargement…
Annuler
Enregistrer