diff --git a/spring/src/main/java/com/bancow/bancowback/domain/common/util/mail/service/MailService.java b/spring/src/main/java/com/bancow/bancowback/domain/common/util/mail/service/MailService.java index 5c39da27..a8f0d6c1 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/common/util/mail/service/MailService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/common/util/mail/service/MailService.java @@ -7,7 +7,6 @@ import com.bancow.bancowback.domain.common.util.mail.MailComponent; import com.bancow.bancowback.domain.common.util.mail.entity.MailTemplate; import com.bancow.bancowback.domain.common.util.mail.repository.MailTemplateRepository; -import com.bancow.bancowback.domain.common.util.token.repository.TokenRepository; import com.bancow.bancowback.domain.common.util.token.service.TokenService; import com.bancow.bancowback.domain.main.farmqna.dto.FarmQnaReplyDto; import com.bancow.bancowback.domain.main.farmqna.entity.FarmQna; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/event/controller/EventController.java b/spring/src/main/java/com/bancow/bancowback/domain/main/event/controller/EventController.java index 246c2427..26d39434 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/event/controller/EventController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/event/controller/EventController.java @@ -26,7 +26,6 @@ import com.bancow.bancowback.domain.main.event.dto.EventInfo; import com.bancow.bancowback.domain.main.event.dto.EventUpdateRequestDto; import com.bancow.bancowback.domain.main.event.service.EventService; - import com.bancow.bancowback.infra.ncp.NcpService; import lombok.RequiredArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/event/service/EventService.java b/spring/src/main/java/com/bancow/bancowback/domain/main/event/service/EventService.java index 2533a81b..227e1e72 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/event/service/EventService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/event/service/EventService.java @@ -11,7 +11,6 @@ import com.bancow.bancowback.domain.common.dto.ServiceResult; import com.bancow.bancowback.domain.common.exception.ErrorCode; import com.bancow.bancowback.domain.common.exception.EventException; - import com.bancow.bancowback.domain.main.event.dto.EventAddRequestDto; import com.bancow.bancowback.domain.main.event.dto.EventDistributeResponseDto; import com.bancow.bancowback.domain.main.event.dto.EventInfo; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/controller/FaqController.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/controller/FaqController.java index 304886a4..afdc68de 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/controller/FaqController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/controller/FaqController.java @@ -1,7 +1,5 @@ package com.bancow.bancowback.domain.main.faq.controller; -import java.util.List; - import javax.validation.Valid; import org.springframework.data.domain.Page; @@ -22,7 +20,6 @@ import com.bancow.bancowback.domain.main.faq.dto.FaqDeleteListDto; import com.bancow.bancowback.domain.main.faq.dto.FaqSearchResultDto; import com.bancow.bancowback.domain.main.faq.dto.FaqUpdateDto; -import com.bancow.bancowback.domain.main.faq.entity.Faq; import com.bancow.bancowback.domain.main.faq.service.FaqService; import lombok.RequiredArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqAddDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqAddDto.java index 4a17cbac..ddb5a93e 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqAddDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqAddDto.java @@ -1,6 +1,5 @@ package com.bancow.bancowback.domain.main.faq.dto; -import javax.persistence.Column; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqDeleteListDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqDeleteListDto.java index 526b3459..a0e4f705 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqDeleteListDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqDeleteListDto.java @@ -2,6 +2,8 @@ import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + import lombok.Getter; import lombok.Setter; @@ -9,5 +11,6 @@ @Setter public class FaqDeleteListDto { + @JsonProperty("id_list") private List idList; } diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqSearchResultDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqSearchResultDto.java index 59411e42..8e89e3ac 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqSearchResultDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqSearchResultDto.java @@ -2,17 +2,7 @@ import java.time.LocalDateTime; -import javax.persistence.Column; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.OneToOne; - import com.bancow.bancowback.domain.main.faq.entity.FaqCategory; -import com.bancow.bancowback.domain.manager.entity.Manager; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqUpdateDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqUpdateDto.java index db2ef38e..774f2b79 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqUpdateDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/dto/FaqUpdateDto.java @@ -1,6 +1,5 @@ package com.bancow.bancowback.domain.main.faq.dto; -import javax.persistence.Column; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/service/FaqService.java b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/service/FaqService.java index 2f338190..a796cc7e 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/faq/service/FaqService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/faq/service/FaqService.java @@ -2,10 +2,8 @@ import static com.bancow.bancowback.domain.common.exception.ErrorCode.*; -import java.util.ArrayList; import java.util.List; -import org.mapstruct.Mapper; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Sort; @@ -14,12 +12,12 @@ import com.bancow.bancowback.domain.common.dto.ServiceResult; import com.bancow.bancowback.domain.common.exception.FaqException; import com.bancow.bancowback.domain.common.util.token.service.TokenService; -import com.bancow.bancowback.domain.main.faq.dto.FaqSearchResultDto; -import com.bancow.bancowback.domain.main.faq.entity.Faq; -import com.bancow.bancowback.domain.main.faq.mapper.FaqMapper; import com.bancow.bancowback.domain.main.faq.dto.FaqAddDto; import com.bancow.bancowback.domain.main.faq.dto.FaqResponseDto; +import com.bancow.bancowback.domain.main.faq.dto.FaqSearchResultDto; import com.bancow.bancowback.domain.main.faq.dto.FaqUpdateDto; +import com.bancow.bancowback.domain.main.faq.entity.Faq; +import com.bancow.bancowback.domain.main.faq.mapper.FaqMapper; import com.bancow.bancowback.domain.main.faq.repository.FaqRepository; import com.bancow.bancowback.domain.manager.entity.Manager; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/controller/FarmQnaController.java b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/controller/FarmQnaController.java index 51b74e5c..142831e3 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/controller/FarmQnaController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/controller/FarmQnaController.java @@ -20,7 +20,6 @@ import com.bancow.bancowback.domain.main.farmqna.dto.FarmQnaDeleteRequestDto; import com.bancow.bancowback.domain.main.farmqna.dto.FarmQnaReplyDto; import com.bancow.bancowback.domain.main.farmqna.dto.FarmQnaResponseDto; -import com.bancow.bancowback.domain.main.farmqna.entity.FarmQna; import com.bancow.bancowback.domain.main.farmqna.service.FarmQnaService; import lombok.RequiredArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/dto/FarmQnaAddRequestDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/dto/FarmQnaAddRequestDto.java index b452c096..e870cd80 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/dto/FarmQnaAddRequestDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/dto/FarmQnaAddRequestDto.java @@ -1,7 +1,6 @@ package com.bancow.bancowback.domain.main.farmqna.dto; import java.time.LocalDate; -import java.time.LocalDateTime; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/service/FarmQnaService.java b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/service/FarmQnaService.java index d3c68e49..3b474b78 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/service/FarmQnaService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/farmqna/service/FarmQnaService.java @@ -2,7 +2,6 @@ import static com.bancow.bancowback.domain.common.exception.ErrorCode.*; -import java.time.LocalDateTime; import java.util.List; import java.util.Map; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/history/entity/History.java b/spring/src/main/java/com/bancow/bancowback/domain/main/history/entity/History.java index ef22aca0..092e0a5f 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/history/entity/History.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/history/entity/History.java @@ -4,8 +4,6 @@ import javax.persistence.Column; import javax.persistence.Entity; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/history/repository/HistoryRepository.java b/spring/src/main/java/com/bancow/bancowback/domain/main/history/repository/HistoryRepository.java index 96d6af1f..42efd5a7 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/history/repository/HistoryRepository.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/history/repository/HistoryRepository.java @@ -3,7 +3,6 @@ import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; import com.bancow.bancowback.domain.main.history.entity.History; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/controller/NoticeController.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/controller/NoticeController.java index b6228c51..3c64d704 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/controller/NoticeController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/controller/NoticeController.java @@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RestController; import com.bancow.bancowback.domain.common.dto.Response; -import com.bancow.bancowback.domain.common.dto.ServiceResult; import com.bancow.bancowback.domain.main.notice.dto.NoticeAddDto; import com.bancow.bancowback.domain.main.notice.dto.NoticeDeleteListDto; import com.bancow.bancowback.domain.main.notice.dto.NoticeUpdateDto; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeAddDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeAddDto.java index 8cd931f6..7c42070c 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeAddDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeAddDto.java @@ -1,20 +1,9 @@ package com.bancow.bancowback.domain.main.notice.dto; -import java.time.LocalDateTime; - -import javax.persistence.Column; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.OneToOne; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import com.bancow.bancowback.domain.main.notice.entity.NoticeCategory; -import com.bancow.bancowback.domain.manager.entity.Manager; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeDeleteListDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeDeleteListDto.java index 716e4222..b729125a 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeDeleteListDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeDeleteListDto.java @@ -2,6 +2,8 @@ import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + import lombok.Getter; import lombok.Setter; @@ -9,5 +11,6 @@ @Setter public class NoticeDeleteListDto { + @JsonProperty("id_list") private List idList; } diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeResponseDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeResponseDto.java index ed287e51..83a50a81 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeResponseDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeResponseDto.java @@ -3,18 +3,8 @@ import java.time.LocalDateTime; import javax.persistence.Column; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.OneToOne; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; import com.bancow.bancowback.domain.main.notice.entity.NoticeCategory; -import com.bancow.bancowback.domain.manager.entity.Manager; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeUpdateDto.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeUpdateDto.java index 04999aa2..b3f799db 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeUpdateDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/dto/NoticeUpdateDto.java @@ -1,13 +1,9 @@ package com.bancow.bancowback.domain.main.notice.dto; -import java.time.LocalDateTime; - -import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import com.bancow.bancowback.domain.main.notice.entity.NoticeCategory; -import com.bancow.bancowback.domain.manager.entity.Manager; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/mapper/NoticeMapper.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/mapper/NoticeMapper.java index 177222cb..b8d915aa 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/mapper/NoticeMapper.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/mapper/NoticeMapper.java @@ -2,17 +2,6 @@ import java.time.LocalDateTime; -import javax.persistence.Column; -import javax.persistence.EnumType; -import javax.persistence.Enumerated; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.OneToOne; -import javax.validation.constraints.NotEmpty; -import javax.validation.constraints.NotNull; - import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; @@ -20,7 +9,6 @@ import com.bancow.bancowback.domain.main.notice.dto.NoticeResponseDto; import com.bancow.bancowback.domain.main.notice.dto.NoticeUpdateDto; import com.bancow.bancowback.domain.main.notice.entity.Notice; -import com.bancow.bancowback.domain.main.notice.entity.NoticeCategory; import com.bancow.bancowback.domain.manager.entity.Manager; @Mapper(componentModel = "spring") diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/repository/NoticeRepository.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/repository/NoticeRepository.java index f380a37b..e0737cfb 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/repository/NoticeRepository.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/repository/NoticeRepository.java @@ -1,10 +1,9 @@ package com.bancow.bancowback.domain.main.notice.repository; import java.util.List; -import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; + import com.bancow.bancowback.domain.main.notice.entity.Notice; public interface NoticeRepository extends JpaRepository { diff --git a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/service/NoticeService.java b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/service/NoticeService.java index f1dc0d07..33e75705 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/main/notice/service/NoticeService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/main/notice/service/NoticeService.java @@ -2,9 +2,7 @@ import static com.bancow.bancowback.domain.common.exception.ErrorCode.*; -import java.time.LocalDateTime; import java.util.List; -import java.util.Optional; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; @@ -15,7 +13,6 @@ import com.bancow.bancowback.domain.common.exception.NoticeException; import com.bancow.bancowback.domain.common.util.token.service.TokenService; import com.bancow.bancowback.domain.main.notice.dto.NoticeAddDto; -import com.bancow.bancowback.domain.main.notice.dto.NoticeDeleteListDto; import com.bancow.bancowback.domain.main.notice.dto.NoticeResponseDto; import com.bancow.bancowback.domain.main.notice.dto.NoticeUpdateDto; import com.bancow.bancowback.domain.main.notice.entity.Notice; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/manager/controller/ManagerController.java b/spring/src/main/java/com/bancow/bancowback/domain/manager/controller/ManagerController.java index ceb5b2ff..2a247cd1 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/manager/controller/ManagerController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/manager/controller/ManagerController.java @@ -16,12 +16,12 @@ import com.bancow.bancowback.domain.common.dto.Response; import com.bancow.bancowback.domain.common.dto.ServiceResult; -import com.bancow.bancowback.domain.manager.dto.ManagerResponseDto; import com.bancow.bancowback.domain.manager.dto.ManagerFindDto; import com.bancow.bancowback.domain.manager.dto.ManagerLoginDto; import com.bancow.bancowback.domain.manager.dto.ManagerLoginResultDto; import com.bancow.bancowback.domain.manager.dto.ManagerPasswordDto; import com.bancow.bancowback.domain.manager.dto.ManagerRegisterDto; +import com.bancow.bancowback.domain.manager.dto.ManagerResponseDto; import com.bancow.bancowback.domain.manager.service.ManagerService; import lombok.RequiredArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/buyer/controller/BuyerController.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/buyer/controller/BuyerController.java index fd76a3fc..a46d5b50 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/buyer/controller/BuyerController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/buyer/controller/BuyerController.java @@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RestController; import com.bancow.bancowback.domain.common.dto.Response; - import com.bancow.bancowback.domain.common.util.token.service.TokenService; import com.bancow.bancowback.domain.sub.buyer.dto.BuyerDeleteRequestDto; import com.bancow.bancowback.domain.sub.buyer.dto.BuyerUpdateRequestDto; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/mapper/ChartMapper.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/mapper/ChartMapper.java index 4b9e4f38..4847f72d 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/mapper/ChartMapper.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/mapper/ChartMapper.java @@ -1,7 +1,6 @@ package com.bancow.bancowback.domain.sub.chart.mapper; import java.util.ArrayList; -import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedList; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/service/ChartService.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/service/ChartService.java index 8f0339d0..2b1dfe28 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/service/ChartService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/chart/service/ChartService.java @@ -2,7 +2,6 @@ import java.util.ArrayList; import java.util.Comparator; -import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/farm/service/FarmService.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/farm/service/FarmService.java index 6c25dc5b..3fadb461 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/farm/service/FarmService.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/farm/service/FarmService.java @@ -6,17 +6,13 @@ import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Sort; - import org.springframework.stereotype.Service; import com.bancow.bancowback.domain.common.dto.ServiceResult; import com.bancow.bancowback.domain.common.exception.ErrorCode; - import com.bancow.bancowback.domain.common.exception.FarmException; - import com.bancow.bancowback.domain.manager.entity.Manager; import com.bancow.bancowback.domain.sub.farm.dto.FarmAddRequestDto; - import com.bancow.bancowback.domain.sub.farm.dto.FarmDetailResponseDto; import com.bancow.bancowback.domain.sub.farm.dto.FarmDistributeResponseDto; import com.bancow.bancowback.domain.sub.farm.dto.FarmPagingResponseDto; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/news/controller/NewsController.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/news/controller/NewsController.java index 25a1379a..c984f938 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/news/controller/NewsController.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/news/controller/NewsController.java @@ -21,7 +21,6 @@ import com.bancow.bancowback.domain.sub.news.dto.NewsRequestDto; import com.bancow.bancowback.domain.sub.news.dto.NewsResponseDto; import com.bancow.bancowback.domain.sub.news.dto.NewsUpdateRequestDto; -import com.bancow.bancowback.domain.sub.news.entity.News; import com.bancow.bancowback.domain.sub.news.service.NewsService; import lombok.RequiredArgsConstructor; diff --git a/spring/src/main/java/com/bancow/bancowback/domain/sub/news/dto/NewsResponseDto.java b/spring/src/main/java/com/bancow/bancowback/domain/sub/news/dto/NewsResponseDto.java index 1aef09b0..d39f7145 100644 --- a/spring/src/main/java/com/bancow/bancowback/domain/sub/news/dto/NewsResponseDto.java +++ b/spring/src/main/java/com/bancow/bancowback/domain/sub/news/dto/NewsResponseDto.java @@ -2,7 +2,6 @@ import java.time.LocalDateTime; -import com.bancow.bancowback.domain.manager.entity.Manager; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor;