diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/DepartmentService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/DepartmentService.cs index a39166e4..779d7de9 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/DepartmentService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/DepartmentService.cs @@ -35,7 +35,7 @@ public class DepartmentService : IDepartmentService { var departments = await _dbContext .Queryable() - .WhereIF(!request.Search.IsEmpty(),x => x.Name.Contains(request.Search)).ToListAsync(); + .WhereIF(!request.Search.IsEmpty(),x => x.Name.Contains(request.Search) || x.No.Contains(request.Search)).ToListAsync(); var tops = departments.Where(x => x.PNo.IsEmpty()).Adapt>();