还原语法

This commit is contained in:
柳文翔 2024-02-29 17:24:58 +08:00
parent 6ce5b5f7bb
commit dba6172aab

View File

@ -47,8 +47,8 @@ public class TrackPullConfigRepository : BasicRepository<TrackPullConfigEntity>,
}, true) }, true)
.Mapper(x => .Mapper(x =>
{ {
x.TrackKeywords = [.. x.TrackKeyword.Split(',')]; x.TrackKeywords = x.TrackKeyword.Split(',').ToList();
x.TrackKeywordsReverse = [.. x.TrackKeywordReverse.Split(',')]; x.TrackKeywordsReverse = x.TrackKeywordReverse.Split(',').ToList();
}) })
.ToPagedListAsync(input.PageIndex, input.PageSize); .ToPagedListAsync(input.PageIndex, input.PageSize);
} }