修改文档排序

Uat_IRC_Net8
hang 2025-08-06 10:56:06 +08:00
parent 71bedb5b5c
commit fcdee39356
1 changed files with 7 additions and 6 deletions

View File

@ -7,6 +7,7 @@
using IRaCIS.Core.Application.Contracts;
using IRaCIS.Core.Application.Filter;
using IRaCIS.Core.Application.MassTransit.Consumer;
using IRaCIS.Core.Application.ViewModel;
using IRaCIS.Core.Domain.Models;
using IRaCIS.Core.Domain.Share;
using MassTransit.Mediator;
@ -509,7 +510,7 @@ namespace IRaCIS.Core.Application.Services
.WhereIf(inQuery.IsSign == true, t => t.ConfirmTime != null)
.WhereIf(inQuery.IsSign == false, t => t.ConfirmTime == null);
var defalutSortArray = new string[] { nameof(UnionDocumentWithConfirmInfoView.IsDeleted), nameof(UnionDocumentWithConfirmInfoView.CreateTime) + " desc", nameof(UnionDocumentWithConfirmInfoView.ConfirmTime) };
var result = await unionQuery.ToPagedListAsync(inQuery);