sql_mode=only_full_group_by 문제 쿼리를 수정하여 해결

This commit is contained in:
Klaus 2023-11-10 19:35:33 +09:00
parent 31208b5e99
commit fc17ba9aaa
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class AdminCalculateQueryRepository(private val queryFactory: JPAQueryFactory) {
.and(order.createdAt.goe(startDate))
.and(order.createdAt.loe(endDate))
)
.groupBy(audioContent.id, order.type)
.groupBy(audioContent.id, order.type, order.createdAt, order.can)
.orderBy(member.id.desc(), orderFormattedDate.desc())
.fetch()
}