Compare commits

..

No commits in common. "3ef1a732e5641598c240cbb1221c2642cf67ea01" and "dd138bff8675574cfde7a95a0c689069663c5453" have entirely different histories.

5 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ class AdminEventBannerQueryRepositoryImpl(
override fun getEventList(): List<GetAdminEventResponse> {
val now = LocalDateTime.now()
val where = event.isActive.isTrue
.and(event.endDate.goe(now))
.and(event.startDate.loe(now))
return queryFactory
.select(
@ -65,7 +65,7 @@ class AdminEventBannerQueryRepositoryImpl(
private fun getProcessedUrlExpression(path: StringPath): StringExpression {
return Expressions.stringTemplate(
"CASE WHEN {0} LIKE '$cloudFrontHost%' THEN {0} ELSE CONCAT('$cloudFrontHost/', {0}) END",
"CASE WHEN {0} LIKE '$cloudFrontHost%' THEN {0} ELSE CONCAT('$cloudFrontHost', {0}) END",
path
)
}

View File

@ -1,4 +1,4 @@
package kr.co.vividnext.sodalive.admin.statistics.ad
package kr.co.vividnext.sodalive.admin.marketing.statistics
import kr.co.vividnext.sodalive.common.ApiResponse
import org.springframework.data.domain.Pageable

View File

@ -1,4 +1,4 @@
package kr.co.vividnext.sodalive.admin.statistics.ad
package kr.co.vividnext.sodalive.admin.marketing.statistics
import com.querydsl.core.types.dsl.CaseBuilder
import com.querydsl.core.types.dsl.DateTimePath

View File

@ -1,4 +1,4 @@
package kr.co.vividnext.sodalive.admin.statistics.ad
package kr.co.vividnext.sodalive.admin.marketing.statistics
import kr.co.vividnext.sodalive.extensions.convertLocalDateTime
import org.springframework.stereotype.Service

View File

@ -1,4 +1,4 @@
package kr.co.vividnext.sodalive.admin.statistics.ad
package kr.co.vividnext.sodalive.admin.marketing.statistics
import com.querydsl.core.annotations.QueryProjection