Compare commits
No commits in common. "66dc231850f54f54a92668270b2c5bfa59a54c5a" and "842b7117a2691978c708ba621df2e84ecc7dadc4" have entirely different histories.
66dc231850
...
842b7117a2
|
@ -208,11 +208,7 @@ public class AuditDocumentService(IRepository<AuditDocument> _auditDocumentRepos
|
|||
{
|
||||
|
||||
var defalutSortArray = new string[] { nameof(AuditDocumentData.AuditDocumentTypeEnum), nameof(AuditDocumentData.Name) };
|
||||
if (inDto.SortField.IsNotNullOrEmpty())
|
||||
{
|
||||
defalutSortArray = new string[] { nameof(AuditDocumentData.AuditDocumentTypeEnum), inDto.SortField + (inDto.Asc ? " asc" : " desc") };
|
||||
inDto.SortField = string.Empty;
|
||||
}
|
||||
|
||||
// 新取出来排序 然后再找子项
|
||||
var data= (await _auditDocumentRepository
|
||||
.Where(x=>x.AuditDocumentTypeEnum!=AuditDocumentType.HistoricalVersion)
|
||||
|
|
Loading…
Reference in New Issue