瀏覽代碼

app2.0 一卡通时间排序

临城职教中职
ndbs 2 年之前
父節點
當前提交
02b1f2162a
共有 2 個文件被更改,包括 4 次插入4 次删除
  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 查看文件

@@ -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 查看文件

@@ -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)
};


Loading…
取消
儲存