Compare commits
No commits in common. "36a82d7f5370d73cb574df1e2a587824e916ab1d" and "3a34401113afe006602f9148755b37a397a6059e" have entirely different histories.
36a82d7f53
...
3a34401113
|
@ -64,7 +64,6 @@ class ContentSeriesQueryRepositoryImpl(
|
|||
return queryFactory
|
||||
.selectFrom(series)
|
||||
.where(where)
|
||||
.orderBy(series.orders.asc(), series.createdAt.asc())
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.fetch()
|
||||
|
|
|
@ -89,7 +89,6 @@ class ContentSeriesContentQueryRepositoryImpl(
|
|||
.innerJoin(seriesContent.series, series)
|
||||
.innerJoin(seriesContent.content, audioContent)
|
||||
.where(where)
|
||||
.orderBy(series.orders.asc(), series.createdAt.asc())
|
||||
.offset(offset)
|
||||
.limit(limit)
|
||||
.fetch()
|
||||
|
|
|
@ -43,8 +43,7 @@ data class Series(
|
|||
@CollectionTable(name = "series_published_days_of_week", joinColumns = [JoinColumn(name = "series_id")])
|
||||
val publishedDaysOfWeek: MutableSet<SeriesPublishedDaysOfWeek> = mutableSetOf(),
|
||||
var isAdult: Boolean = false,
|
||||
var isActive: Boolean = true,
|
||||
var orders: Int = 1
|
||||
var isActive: Boolean = true
|
||||
) : BaseEntity() {
|
||||
@OneToOne(fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "genre_id", nullable = false)
|
||||
|
|
|
@ -17,8 +17,6 @@ class SeriesContent {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
var id: Long? = null
|
||||
|
||||
var orders: Int = 1
|
||||
|
||||
var createdAt: LocalDateTime? = null
|
||||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
|
|
Loading…
Reference in New Issue