This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. ADMIN 권한을 가진 사용자가 연도별 검색을 통해 1월~12월 거래량을 확인할 수 있다. issue number : #131
- Loading branch information
1 parent
d6615e7
commit eb6e5e8
Showing
5 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
src/main/java/com/flab/shoeauction/domain/trade/SearchTradeRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
package com.flab.shoeauction.domain.trade; | ||
|
||
import com.flab.shoeauction.controller.dto.TradeDto.MonthlyTradingVolumesResponse; | ||
import com.flab.shoeauction.controller.dto.TradeDto.TradeInfoResponse; | ||
import com.flab.shoeauction.controller.dto.TradeDto.TradeMonthSearchCondition; | ||
import com.flab.shoeauction.controller.dto.TradeDto.TradeSearchCondition; | ||
import com.flab.shoeauction.domain.users.user.User; | ||
import java.util.List; | ||
import org.springframework.data.domain.Page; | ||
import org.springframework.data.domain.Pageable; | ||
|
||
public interface SearchTradeRepository { | ||
|
||
boolean existsProgressingByUser(User user); | ||
|
||
Page<TradeInfoResponse> searchByTradeStatusAndTradeId(TradeSearchCondition searchCondition, Pageable pageable); | ||
Page<TradeInfoResponse> searchByTradeStatusAndTradeId(TradeSearchCondition searchCondition, | ||
Pageable pageable); | ||
|
||
List<MonthlyTradingVolumesResponse> searchTradeVolumeByMonth( | ||
TradeMonthSearchCondition tradeMonthSearchCondition); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters