|
@@ -155,6 +155,8 @@ namespace GxPress.Repository.Implement.Media
|
|
|
{
|
|
|
var result = new PagedList<Entity.tede2.Media.Media>();
|
|
|
var query = Q.NewQuery();
|
|
|
+ if(!string.IsNullOrEmpty(request.KeyWord))
|
|
|
+ query.WhereLike(nameof(Entity.tede2.Media.Media.Title),$"%{request.KeyWord}%");
|
|
|
if (request.IsDelete > 0)
|
|
|
query.Where(nameof(Entity.tede2.Media.Media.IsDelete), request.IsDelete);
|
|
|
if (request.MediaType > 0)
|