|
@@ -939,7 +939,7 @@ namespace GxPress.Repository.Implement.Media
|
|
|
//好评
|
|
|
if (request.SortSift == 3)
|
|
|
query.OrderByDesc(nameof(Entity.tede2.Media.Media.CommentScore));
|
|
|
- if (request.PressSift!=null&&request.PressSift.Count() > 0)
|
|
|
+ if (request.PressSift != null && request.PressSift.Count() > 0)
|
|
|
query.WhereIn(nameof(Entity.tede2.Media.Media.Press), request.PressSift);
|
|
|
if (!string.IsNullOrEmpty(request.KeyWord))
|
|
|
query.WhereLike(nameof(Entity.tede2.Media.Media.Title), $"%{request.KeyWord}%");
|