From 35a1e0ed49ef7e6a89bafb88f37f1674b81516a3 Mon Sep 17 00:00:00 2001 From: suhyeon7497 Date: Fri, 15 Nov 2024 17:11:16 +0900 Subject: [PATCH] =?UTF-8?q?[test]=20test=20=EA=B9=A8=EC=A7=80=EB=8A=94=20?= =?UTF-8?q?=EA=B1=B0=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inplace/admin/banner/domain/QBanner.java | 47 +++++++++++++++++++ .../crawling/domain/QYoutubeChannel.java | 4 +- .../exception => admin/error}/QErrorLog.java | 4 +- .../video/persistence/VideoRepository.java | 3 +- .../annotation/CustomRepositoryTest.java | 17 ++++--- 5 files changed, 61 insertions(+), 14 deletions(-) create mode 100644 src/main/generated/team7/inplace/admin/banner/domain/QBanner.java rename src/main/generated/team7/inplace/{ => admin}/crawling/domain/QYoutubeChannel.java (92%) rename src/main/generated/team7/inplace/{global/exception => admin/error}/QErrorLog.java (91%) diff --git a/src/main/generated/team7/inplace/admin/banner/domain/QBanner.java b/src/main/generated/team7/inplace/admin/banner/domain/QBanner.java new file mode 100644 index 00000000..64578408 --- /dev/null +++ b/src/main/generated/team7/inplace/admin/banner/domain/QBanner.java @@ -0,0 +1,47 @@ +package team7.inplace.admin.banner.domain; + +import static com.querydsl.core.types.PathMetadataFactory.*; + +import com.querydsl.core.types.dsl.*; + +import com.querydsl.core.types.PathMetadata; +import javax.annotation.processing.Generated; +import com.querydsl.core.types.Path; + + +/** + * QBanner is a Querydsl query type for Banner + */ +@Generated("com.querydsl.codegen.DefaultEntitySerializer") +public class QBanner extends EntityPathBase { + + private static final long serialVersionUID = -455211757L; + + public static final QBanner banner = new QBanner("banner"); + + public final DateTimePath endDate = createDateTime("endDate", java.time.LocalDateTime.class); + + public final NumberPath id = createNumber("id", Long.class); + + public final StringPath imgName = createString("imgName"); + + public final StringPath imgPath = createString("imgPath"); + + public final BooleanPath isFixed = createBoolean("isFixed"); + + public final DateTimePath startDate = createDateTime("startDate", java.time.LocalDateTime.class); + + public QBanner(String variable) { + super(Banner.class, forVariable(variable)); + } + + public QBanner(Path path) { + super(path.getType(), path.getMetadata()); + } + + public QBanner(PathMetadata metadata) { + super(Banner.class, metadata); + } + +} + diff --git a/src/main/generated/team7/inplace/crawling/domain/QYoutubeChannel.java b/src/main/generated/team7/inplace/admin/crawling/domain/QYoutubeChannel.java similarity index 92% rename from src/main/generated/team7/inplace/crawling/domain/QYoutubeChannel.java rename to src/main/generated/team7/inplace/admin/crawling/domain/QYoutubeChannel.java index 7b379620..9bba9349 100644 --- a/src/main/generated/team7/inplace/crawling/domain/QYoutubeChannel.java +++ b/src/main/generated/team7/inplace/admin/crawling/domain/QYoutubeChannel.java @@ -1,4 +1,4 @@ -package team7.inplace.crawling.domain; +package team7.inplace.admin.crawling.domain; import static com.querydsl.core.types.PathMetadataFactory.*; @@ -15,7 +15,7 @@ @Generated("com.querydsl.codegen.DefaultEntitySerializer") public class QYoutubeChannel extends EntityPathBase { - private static final long serialVersionUID = 2131098359L; + private static final long serialVersionUID = -73514634L; public static final QYoutubeChannel youtubeChannel = new QYoutubeChannel("youtubeChannel"); diff --git a/src/main/generated/team7/inplace/global/exception/QErrorLog.java b/src/main/generated/team7/inplace/admin/error/QErrorLog.java similarity index 91% rename from src/main/generated/team7/inplace/global/exception/QErrorLog.java rename to src/main/generated/team7/inplace/admin/error/QErrorLog.java index ceffad2a..498fdfb0 100644 --- a/src/main/generated/team7/inplace/global/exception/QErrorLog.java +++ b/src/main/generated/team7/inplace/admin/error/QErrorLog.java @@ -1,4 +1,4 @@ -package team7.inplace.global.exception; +package team7.inplace.admin.error; import static com.querydsl.core.types.PathMetadataFactory.*; @@ -15,7 +15,7 @@ @Generated("com.querydsl.codegen.DefaultEntitySerializer") public class QErrorLog extends EntityPathBase { - private static final long serialVersionUID = 50351046L; + private static final long serialVersionUID = -245768895L; public static final QErrorLog errorLog = new QErrorLog("errorLog"); diff --git a/src/main/java/team7/inplace/video/persistence/VideoRepository.java b/src/main/java/team7/inplace/video/persistence/VideoRepository.java index 0e59ecc7..dd4a2a1b 100644 --- a/src/main/java/team7/inplace/video/persistence/VideoRepository.java +++ b/src/main/java/team7/inplace/video/persistence/VideoRepository.java @@ -6,6 +6,7 @@ import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; import team7.inplace.place.domain.Place; import team7.inplace.video.domain.Video; @@ -15,7 +16,7 @@ public interface VideoRepository extends JpaRepository { List