탐색
- 남/여 크리에이터 리스트 추가 - 인기크리, 새로시작 외 나머지 섹션 제거
This commit is contained in:
@@ -185,7 +185,7 @@ class ExplorerQueryRepository(
|
||||
val rotatedChars = characters.drop(offset) + characters.take(offset)
|
||||
|
||||
val caseWhenClauses = rotatedChars.withIndex().joinToString(" ") {
|
||||
"WHEN {0}.email LIKE '{1}%' THEN {2}".format(member, it.value, it.index + 1)
|
||||
"WHEN ${member.email} LIKE '${it.value}%' THEN ${it.index + 1}"
|
||||
}
|
||||
val caseExpression = Expressions.stringTemplate("CASE $caseWhenClauses END")
|
||||
|
||||
|
Reference in New Issue
Block a user