From e651f8daf362923385d6c60a78197d26193051b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EB=8F=99=EA=B2=B8?= Date: Sun, 24 Nov 2024 05:36:53 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Refactor/#151=20-=20core?= =?UTF-8?q?=EC=97=90=20=EC=9E=88=EB=8A=94=20domain,=20repository=EC=9D=84?= =?UTF-8?q?=20event=EB=A1=9C=20=EC=9D=B4=EB=8F=99=20(#152)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../account/application/service/ReadStoreDetailService.java | 3 +-- src/main/java/com/daon/onjung/account/domain/Store.java | 2 +- .../com/daon/onjung/core/listener/AppEventListener.java | 4 ++-- .../onjung/core/listener/SchedulerRecoveryListener.java | 4 ++-- .../consumer/EventSchedulerConsumerV1Controller.java | 2 +- .../application/dto/response/ReadTicketResponseDto.java | 2 +- .../application/service/ProcessCompletedEventService.java | 6 +++--- .../application/service/ReadOnjungEventOverviewService.java | 2 +- .../onjung/event/application/service/ReadTicketService.java | 2 +- .../application/service/ReadTicketValidateService.java | 3 +-- .../com/daon/onjung/event/domain/{ => mysql}/Event.java | 2 +- .../com/daon/onjung/event/domain/{ => mysql}/Ticket.java | 2 +- .../domain => event/domain/redis}/ScheduledEventJob.java | 2 +- .../com/daon/onjung/event/domain/service/EventService.java | 3 +-- .../domain/service/ScheduledEventJobService.java | 4 ++-- .../com/daon/onjung/event/domain/service/TicketService.java | 4 ++-- .../daon/onjung/event/repository/mysql/EventRepository.java | 3 +-- .../onjung/event/repository/mysql/TicketRepository.java | 4 +--- .../repository/redis/ScheduledEventJobRepository.java | 4 ++-- .../onjung/application/service/CreateDonationService.java | 5 +---- src/main/java/com/daon/onjung/onjung/domain/Donation.java | 2 +- .../daon/onjung/onjung/domain/service/DonationService.java | 2 +- .../application/service/SignUpOwnerByDefaultService.java | 4 ++-- .../onjung/security/repository/mysql/AccountRepository.java | 2 +- 24 files changed, 32 insertions(+), 41 deletions(-) rename src/main/java/com/daon/onjung/event/domain/{ => mysql}/Event.java (98%) rename src/main/java/com/daon/onjung/event/domain/{ => mysql}/Ticket.java (98%) rename src/main/java/com/daon/onjung/{core/domain => event/domain/redis}/ScheduledEventJob.java (95%) rename src/main/java/com/daon/onjung/{core => event}/domain/service/ScheduledEventJobService.java (79%) rename src/main/java/com/daon/onjung/{core => event}/repository/redis/ScheduledEventJobRepository.java (79%) diff --git a/src/main/java/com/daon/onjung/account/application/service/ReadStoreDetailService.java b/src/main/java/com/daon/onjung/account/application/service/ReadStoreDetailService.java index 34942cb..ace8847 100644 --- a/src/main/java/com/daon/onjung/account/application/service/ReadStoreDetailService.java +++ b/src/main/java/com/daon/onjung/account/application/service/ReadStoreDetailService.java @@ -12,7 +12,7 @@ import com.daon.onjung.core.utility.BankUtil; import com.daon.onjung.core.utility.DateTimeUtil; import com.daon.onjung.core.utility.RestClientUtil; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import com.daon.onjung.event.domain.service.EventService; import com.daon.onjung.event.repository.mysql.EventRepository; import lombok.RequiredArgsConstructor; @@ -21,7 +21,6 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Optional; diff --git a/src/main/java/com/daon/onjung/account/domain/Store.java b/src/main/java/com/daon/onjung/account/domain/Store.java index 86f9f6c..81a4339 100644 --- a/src/main/java/com/daon/onjung/account/domain/Store.java +++ b/src/main/java/com/daon/onjung/account/domain/Store.java @@ -2,7 +2,7 @@ import com.daon.onjung.account.domain.type.ECategory; import com.daon.onjung.account.domain.type.EOnjungTag; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import jakarta.persistence.*; import lombok.AccessLevel; import lombok.Builder; diff --git a/src/main/java/com/daon/onjung/core/listener/AppEventListener.java b/src/main/java/com/daon/onjung/core/listener/AppEventListener.java index 1169863..4e2e018 100644 --- a/src/main/java/com/daon/onjung/core/listener/AppEventListener.java +++ b/src/main/java/com/daon/onjung/core/listener/AppEventListener.java @@ -1,9 +1,9 @@ package com.daon.onjung.core.listener; -import com.daon.onjung.core.domain.ScheduledEventJob; +import com.daon.onjung.event.domain.redis.ScheduledEventJob; import com.daon.onjung.core.exception.error.ErrorCode; import com.daon.onjung.core.exception.type.CommonException; -import com.daon.onjung.core.repository.redis.ScheduledEventJobRepository; +import com.daon.onjung.event.repository.redis.ScheduledEventJobRepository; import com.daon.onjung.event.application.controller.consumer.EventSchedulerConsumerV1Controller; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/com/daon/onjung/core/listener/SchedulerRecoveryListener.java b/src/main/java/com/daon/onjung/core/listener/SchedulerRecoveryListener.java index b498ec2..2cf65bb 100644 --- a/src/main/java/com/daon/onjung/core/listener/SchedulerRecoveryListener.java +++ b/src/main/java/com/daon/onjung/core/listener/SchedulerRecoveryListener.java @@ -1,7 +1,7 @@ package com.daon.onjung.core.listener; -import com.daon.onjung.core.domain.ScheduledEventJob; -import com.daon.onjung.core.repository.redis.ScheduledEventJobRepository; +import com.daon.onjung.event.domain.redis.ScheduledEventJob; +import com.daon.onjung.event.repository.redis.ScheduledEventJobRepository; import com.daon.onjung.event.application.controller.consumer.EventSchedulerConsumerV1Controller; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/com/daon/onjung/event/application/controller/consumer/EventSchedulerConsumerV1Controller.java b/src/main/java/com/daon/onjung/event/application/controller/consumer/EventSchedulerConsumerV1Controller.java index 6ba3e4c..409189e 100644 --- a/src/main/java/com/daon/onjung/event/application/controller/consumer/EventSchedulerConsumerV1Controller.java +++ b/src/main/java/com/daon/onjung/event/application/controller/consumer/EventSchedulerConsumerV1Controller.java @@ -1,6 +1,6 @@ package com.daon.onjung.event.application.controller.consumer; -import com.daon.onjung.core.repository.redis.ScheduledEventJobRepository; +import com.daon.onjung.event.repository.redis.ScheduledEventJobRepository; import com.daon.onjung.event.application.usecase.ProcessCompletedEventUseCase; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/com/daon/onjung/event/application/dto/response/ReadTicketResponseDto.java b/src/main/java/com/daon/onjung/event/application/dto/response/ReadTicketResponseDto.java index 2f9dcfd..5289e95 100644 --- a/src/main/java/com/daon/onjung/event/application/dto/response/ReadTicketResponseDto.java +++ b/src/main/java/com/daon/onjung/event/application/dto/response/ReadTicketResponseDto.java @@ -3,7 +3,7 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.core.dto.SelfValidating; import com.daon.onjung.core.utility.DateTimeUtil; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Ticket; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.validation.constraints.NotNull; import lombok.Builder; diff --git a/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java b/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java index f2cc0dd..825e88f 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ProcessCompletedEventService.java @@ -4,7 +4,7 @@ import com.daon.onjung.account.domain.User; import com.daon.onjung.account.domain.type.EBankName; import com.daon.onjung.account.repository.mysql.UserRepository; -import com.daon.onjung.core.domain.service.ScheduledEventJobService; +import com.daon.onjung.event.domain.service.ScheduledEventJobService; import com.daon.onjung.core.dto.CreateVirtualAccountResponseDto; import com.daon.onjung.core.exception.error.ErrorCode; import com.daon.onjung.core.exception.type.CommonException; @@ -13,8 +13,8 @@ import com.daon.onjung.core.utility.FirebaseUtil; import com.daon.onjung.core.utility.RestClientUtil; import com.daon.onjung.event.application.usecase.ProcessCompletedEventUseCase; -import com.daon.onjung.event.domain.Event; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Event; +import com.daon.onjung.event.domain.mysql.Ticket; import com.daon.onjung.event.domain.service.EventService; import com.daon.onjung.event.domain.service.TicketService; import com.daon.onjung.event.repository.mysql.EventRepository; diff --git a/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java b/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java index 640e6c9..5c3aea7 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ReadOnjungEventOverviewService.java @@ -7,7 +7,7 @@ import com.daon.onjung.core.utility.DateTimeUtil; import com.daon.onjung.event.application.dto.response.ReadOnjungEventOverviewResponseDto; import com.daon.onjung.event.application.usecase.ReadOnjungEventOverviewUseCase; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import com.daon.onjung.event.domain.type.EStatus; import com.daon.onjung.event.repository.mysql.EventRepository; import com.daon.onjung.onjung.domain.Donation; diff --git a/src/main/java/com/daon/onjung/event/application/service/ReadTicketService.java b/src/main/java/com/daon/onjung/event/application/service/ReadTicketService.java index 5e7dd2c..f3f0b33 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ReadTicketService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ReadTicketService.java @@ -7,7 +7,7 @@ import com.daon.onjung.core.exception.type.CommonException; import com.daon.onjung.event.application.dto.response.ReadTicketResponseDto; import com.daon.onjung.event.application.usecase.ReadTicketUseCase; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Ticket; import com.daon.onjung.event.repository.mysql.TicketRepository; import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Page; diff --git a/src/main/java/com/daon/onjung/event/application/service/ReadTicketValidateService.java b/src/main/java/com/daon/onjung/event/application/service/ReadTicketValidateService.java index b0c5ba0..1d34b66 100644 --- a/src/main/java/com/daon/onjung/event/application/service/ReadTicketValidateService.java +++ b/src/main/java/com/daon/onjung/event/application/service/ReadTicketValidateService.java @@ -6,10 +6,9 @@ import com.daon.onjung.event.application.dto.request.ReadTicketValidateRequestDto; import com.daon.onjung.event.application.dto.response.ReadTicketValidateResponseDto; import com.daon.onjung.event.application.usecase.ReadTicketValidateUseCase; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Ticket; import com.daon.onjung.event.domain.service.TicketService; import com.daon.onjung.event.repository.mysql.TicketRepository; -import com.daon.onjung.security.domain.mysql.Account; import com.daon.onjung.security.repository.mysql.AccountRepository; import lombok.RequiredArgsConstructor; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; diff --git a/src/main/java/com/daon/onjung/event/domain/Event.java b/src/main/java/com/daon/onjung/event/domain/mysql/Event.java similarity index 98% rename from src/main/java/com/daon/onjung/event/domain/Event.java rename to src/main/java/com/daon/onjung/event/domain/mysql/Event.java index b0ace26..0c46432 100644 --- a/src/main/java/com/daon/onjung/event/domain/Event.java +++ b/src/main/java/com/daon/onjung/event/domain/mysql/Event.java @@ -1,4 +1,4 @@ -package com.daon.onjung.event.domain; +package com.daon.onjung.event.domain.mysql; import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.type.EBankName; diff --git a/src/main/java/com/daon/onjung/event/domain/Ticket.java b/src/main/java/com/daon/onjung/event/domain/mysql/Ticket.java similarity index 98% rename from src/main/java/com/daon/onjung/event/domain/Ticket.java rename to src/main/java/com/daon/onjung/event/domain/mysql/Ticket.java index 9296dc9..61b4158 100644 --- a/src/main/java/com/daon/onjung/event/domain/Ticket.java +++ b/src/main/java/com/daon/onjung/event/domain/mysql/Ticket.java @@ -1,4 +1,4 @@ -package com.daon.onjung.event.domain; +package com.daon.onjung.event.domain.mysql; import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.User; diff --git a/src/main/java/com/daon/onjung/core/domain/ScheduledEventJob.java b/src/main/java/com/daon/onjung/event/domain/redis/ScheduledEventJob.java similarity index 95% rename from src/main/java/com/daon/onjung/core/domain/ScheduledEventJob.java rename to src/main/java/com/daon/onjung/event/domain/redis/ScheduledEventJob.java index 9d14d15..8721782 100644 --- a/src/main/java/com/daon/onjung/core/domain/ScheduledEventJob.java +++ b/src/main/java/com/daon/onjung/event/domain/redis/ScheduledEventJob.java @@ -1,4 +1,4 @@ -package com.daon.onjung.core.domain; +package com.daon.onjung.event.domain.redis; import lombok.AccessLevel; import lombok.Builder; diff --git a/src/main/java/com/daon/onjung/event/domain/service/EventService.java b/src/main/java/com/daon/onjung/event/domain/service/EventService.java index d551290..c7e4e15 100644 --- a/src/main/java/com/daon/onjung/event/domain/service/EventService.java +++ b/src/main/java/com/daon/onjung/event/domain/service/EventService.java @@ -2,8 +2,7 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.type.EBankName; -import com.daon.onjung.event.domain.Event; -import com.daon.onjung.event.domain.type.EStatus; +import com.daon.onjung.event.domain.mysql.Event; import org.springframework.stereotype.Service; import java.time.LocalDate; diff --git a/src/main/java/com/daon/onjung/core/domain/service/ScheduledEventJobService.java b/src/main/java/com/daon/onjung/event/domain/service/ScheduledEventJobService.java similarity index 79% rename from src/main/java/com/daon/onjung/core/domain/service/ScheduledEventJobService.java rename to src/main/java/com/daon/onjung/event/domain/service/ScheduledEventJobService.java index ba40e9d..73a5576 100644 --- a/src/main/java/com/daon/onjung/core/domain/service/ScheduledEventJobService.java +++ b/src/main/java/com/daon/onjung/event/domain/service/ScheduledEventJobService.java @@ -1,6 +1,6 @@ -package com.daon.onjung.core.domain.service; +package com.daon.onjung.event.domain.service; -import com.daon.onjung.core.domain.ScheduledEventJob; +import com.daon.onjung.event.domain.redis.ScheduledEventJob; import org.springframework.stereotype.Service; import java.time.LocalDateTime; diff --git a/src/main/java/com/daon/onjung/event/domain/service/TicketService.java b/src/main/java/com/daon/onjung/event/domain/service/TicketService.java index a84a24b..a5778ab 100644 --- a/src/main/java/com/daon/onjung/event/domain/service/TicketService.java +++ b/src/main/java/com/daon/onjung/event/domain/service/TicketService.java @@ -2,8 +2,8 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.User; -import com.daon.onjung.event.domain.Event; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Event; +import com.daon.onjung.event.domain.mysql.Ticket; import org.springframework.stereotype.Service; import java.time.LocalDate; diff --git a/src/main/java/com/daon/onjung/event/repository/mysql/EventRepository.java b/src/main/java/com/daon/onjung/event/repository/mysql/EventRepository.java index 9490f0c..64a7ca0 100644 --- a/src/main/java/com/daon/onjung/event/repository/mysql/EventRepository.java +++ b/src/main/java/com/daon/onjung/event/repository/mysql/EventRepository.java @@ -1,7 +1,6 @@ package com.daon.onjung.event.repository.mysql; -import com.daon.onjung.account.domain.Store; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; diff --git a/src/main/java/com/daon/onjung/event/repository/mysql/TicketRepository.java b/src/main/java/com/daon/onjung/event/repository/mysql/TicketRepository.java index d98509a..bad0283 100644 --- a/src/main/java/com/daon/onjung/event/repository/mysql/TicketRepository.java +++ b/src/main/java/com/daon/onjung/event/repository/mysql/TicketRepository.java @@ -1,13 +1,11 @@ package com.daon.onjung.event.repository.mysql; import com.daon.onjung.account.domain.User; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Ticket; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; -import java.util.List; - public interface TicketRepository extends JpaRepository { // user로 Ticket 조회, expirationDate를 ASC로 정렬 diff --git a/src/main/java/com/daon/onjung/core/repository/redis/ScheduledEventJobRepository.java b/src/main/java/com/daon/onjung/event/repository/redis/ScheduledEventJobRepository.java similarity index 79% rename from src/main/java/com/daon/onjung/core/repository/redis/ScheduledEventJobRepository.java rename to src/main/java/com/daon/onjung/event/repository/redis/ScheduledEventJobRepository.java index eee0b51..d2ca486 100644 --- a/src/main/java/com/daon/onjung/core/repository/redis/ScheduledEventJobRepository.java +++ b/src/main/java/com/daon/onjung/event/repository/redis/ScheduledEventJobRepository.java @@ -1,6 +1,6 @@ -package com.daon.onjung.core.repository.redis; +package com.daon.onjung.event.repository.redis; -import com.daon.onjung.core.domain.ScheduledEventJob; +import com.daon.onjung.event.domain.redis.ScheduledEventJob; import org.jetbrains.annotations.NotNull; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; diff --git a/src/main/java/com/daon/onjung/onjung/application/service/CreateDonationService.java b/src/main/java/com/daon/onjung/onjung/application/service/CreateDonationService.java index 6e2b4eb..190e0d2 100644 --- a/src/main/java/com/daon/onjung/onjung/application/service/CreateDonationService.java +++ b/src/main/java/com/daon/onjung/onjung/application/service/CreateDonationService.java @@ -2,16 +2,13 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.User; -import com.daon.onjung.account.domain.type.EBankName; import com.daon.onjung.account.repository.mysql.StoreRepository; import com.daon.onjung.account.repository.mysql.UserRepository; -import com.daon.onjung.core.dto.CreateVirtualAccountResponseDto; -import com.daon.onjung.core.dto.DepositOrTransferVirtualAccountResponseDto; import com.daon.onjung.core.exception.error.ErrorCode; import com.daon.onjung.core.exception.type.CommonException; import com.daon.onjung.core.utility.BankUtil; import com.daon.onjung.core.utility.RestClientUtil; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import com.daon.onjung.event.repository.mysql.EventRepository; import com.daon.onjung.onjung.application.dto.request.CreateDonationRequestDto; import com.daon.onjung.onjung.application.dto.response.CreateDonationResponseDto; diff --git a/src/main/java/com/daon/onjung/onjung/domain/Donation.java b/src/main/java/com/daon/onjung/onjung/domain/Donation.java index acc3f43..02b6859 100644 --- a/src/main/java/com/daon/onjung/onjung/domain/Donation.java +++ b/src/main/java/com/daon/onjung/onjung/domain/Donation.java @@ -2,7 +2,7 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.User; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import jakarta.persistence.*; import lombok.AccessLevel; import lombok.Builder; diff --git a/src/main/java/com/daon/onjung/onjung/domain/service/DonationService.java b/src/main/java/com/daon/onjung/onjung/domain/service/DonationService.java index 94b2ac6..04e8180 100644 --- a/src/main/java/com/daon/onjung/onjung/domain/service/DonationService.java +++ b/src/main/java/com/daon/onjung/onjung/domain/service/DonationService.java @@ -2,7 +2,7 @@ import com.daon.onjung.account.domain.Store; import com.daon.onjung.account.domain.User; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import com.daon.onjung.onjung.domain.Donation; import org.springframework.stereotype.Service; diff --git a/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java b/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java index fd923c2..8cc56fe 100644 --- a/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java +++ b/src/main/java/com/daon/onjung/security/application/service/SignUpOwnerByDefaultService.java @@ -7,12 +7,12 @@ import com.daon.onjung.account.domain.type.EBankName; import com.daon.onjung.account.repository.mysql.OwnerRepository; import com.daon.onjung.account.repository.mysql.StoreRepository; -import com.daon.onjung.core.domain.service.ScheduledEventJobService; +import com.daon.onjung.event.domain.service.ScheduledEventJobService; import com.daon.onjung.core.dto.CreateVirtualAccountResponseDto; import com.daon.onjung.core.utility.BankUtil; import com.daon.onjung.core.utility.RestClientUtil; import com.daon.onjung.core.utility.S3Util; -import com.daon.onjung.event.domain.Event; +import com.daon.onjung.event.domain.mysql.Event; import com.daon.onjung.event.domain.service.EventService; import com.daon.onjung.event.repository.mysql.EventRepository; import com.daon.onjung.security.application.dto.request.SignUpOwnerByDefaultRequestDto; diff --git a/src/main/java/com/daon/onjung/security/repository/mysql/AccountRepository.java b/src/main/java/com/daon/onjung/security/repository/mysql/AccountRepository.java index 879d9be..6f707f3 100644 --- a/src/main/java/com/daon/onjung/security/repository/mysql/AccountRepository.java +++ b/src/main/java/com/daon/onjung/security/repository/mysql/AccountRepository.java @@ -1,6 +1,6 @@ package com.daon.onjung.security.repository.mysql; -import com.daon.onjung.event.domain.Ticket; +import com.daon.onjung.event.domain.mysql.Ticket; import com.daon.onjung.security.domain.mysql.Account; import com.daon.onjung.security.domain.type.ESecurityProvider; import io.lettuce.core.dynamic.annotation.Param;