소스 검색

标题查询

田爽 1 개월 전
부모
커밋
7a69642ec9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/Hotline.Application/Orders/OrderApplication.cs
  2. 1 1
      src/Hotline.Share/Requests/PagedKeywordRequest.cs

+ 1 - 1
src/Hotline.Application/Orders/OrderApplication.cs

@@ -5050,7 +5050,7 @@ public class OrderApplication : IOrderApplication, IScopeDependency
                 .WhereIF(dto.StartTime.HasValue && dto.EndTime.HasValue, x => x.CreationTime >= dto.StartTime && x.CreationTime <= dto.EndTime)
                 .WhereIF(!_sessionContext.OrgIsCenter, x => x.ApplyOrgId == _sessionContext.RequiredOrgId)
                 .WhereIF(!string.IsNullOrEmpty(dto.No), x => x.Order.No.Contains(dto.No!))
-                .WhereIF(!string.IsNullOrEmpty(dto.Titel), x => x.Order.Title.Contains(dto.Titel!))
+                .WhereIF(!string.IsNullOrEmpty(dto.Title), x => x.Order.Title.Contains(dto.Title!))
                 .WhereIF(!string.IsNullOrEmpty(dto.OrgId), x => x.ApplyOrgId == dto.OrgId)
                 .WhereIF(dto.Type is ExtendedSendBackType.PassNum, x => x.State == ESendBackAuditState.End)
                 .WhereIF(dto.Type is ExtendedSendBackType.NoPassNum, x => x.State == ESendBackAuditState.Refuse)

+ 1 - 1
src/Hotline.Share/Requests/PagedKeywordRequest.cs

@@ -1543,7 +1543,7 @@ public record ExtendedSendBackRequest : PagedKeywordRequest
 {
     public string? No { get; set; }
 
-    public string? Titel { get; set; }
+    public string? Title { get; set; }
 
     public string? OrgId { get; set; }