diff --git a/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs b/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
index 1beb3bed..99cf36dc 100644
--- a/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
+++ b/src/SJZY.Track.Application/Services/TrackTemplates/TrackTemplateService.cs
@@ -190,7 +190,7 @@ public class TrackTemplateService : ApplicationService, ITransientDependency
///
///
[HttpPost("GetContentDropDownList")]
- public async Task> GetContentDropDownListAsync([FromBody] GetTrackTemplateContentDropDownListVO input)
+ public async Task> GetContentDropDownListAsync([FromBody] GetTrackTemplateContentDropDownListVO input)
{
return await _trackTemplateRepository.GetContentDropDownListAsync(input);
}
diff --git a/src/SJZY.Track.Domain/Aggregates/TrackTemplateAggregate/ITrackTemplateRepository.cs b/src/SJZY.Track.Domain/Aggregates/TrackTemplateAggregate/ITrackTemplateRepository.cs
index 86e3041b..5c738f78 100644
--- a/src/SJZY.Track.Domain/Aggregates/TrackTemplateAggregate/ITrackTemplateRepository.cs
+++ b/src/SJZY.Track.Domain/Aggregates/TrackTemplateAggregate/ITrackTemplateRepository.cs
@@ -39,5 +39,5 @@ public interface ITrackTemplateRepository : IBasicRepository UpdateContentRangeAsync(List updateObjs);
- Task> GetContentDropDownListAsync(GetTrackTemplateContentDropDownListVO input);
+ Task> GetContentDropDownListAsync(GetTrackTemplateContentDropDownListVO input);
}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/Repositories/TrackTemplateRepository.cs b/src/SJZY.Track.Repository/Repositories/TrackTemplateRepository.cs
index 1f243a33..37d27a78 100644
--- a/src/SJZY.Track.Repository/Repositories/TrackTemplateRepository.cs
+++ b/src/SJZY.Track.Repository/Repositories/TrackTemplateRepository.cs
@@ -164,7 +164,7 @@ public class TrackTemplateRepository : BasicRepository, ITr
return await Context.Updateable(updateObjs).ExecuteCommandHasChangeAsync();
}
- public async Task> GetContentDropDownListAsync(GetTrackTemplateContentDropDownListVO input)
+ public async Task> GetContentDropDownListAsync(GetTrackTemplateContentDropDownListVO input)
{
return await Context.Queryable()
.InnerJoin((templateContent, trackContent) => templateContent.TrackContentId == trackContent.Id)
@@ -177,6 +177,6 @@ public class TrackTemplateRepository : BasicRepository, ITr
Key = trackContent.Code + "-" + trackContent.Content
})
.Distinct()
- .ToListAsync();
+ .ToPagedListAsync(input.PageIndex, input.PageSize);
}
}
\ No newline at end of file