|
1 | 1 | package com.jangburich.domain.store.service;
|
2 | 2 |
|
| 3 | +import com.jangburich.domain.store.dto.StoreTeamResponse; |
| 4 | +import com.jangburich.domain.store.dto.response.StoreSearchDetailsResponse; |
3 | 5 | import java.time.LocalDate;
|
4 | 6 | import java.time.LocalDateTime;
|
5 | 7 | import java.util.ArrayList;
|
|
33 | 35 | import com.jangburich.domain.store.domain.StoreTeam;
|
34 | 36 | import com.jangburich.domain.store.domain.StoreUpdateRequestDTO;
|
35 | 37 | import com.jangburich.domain.store.dto.StoreTeamResponse;
|
| 38 | +import com.jangburich.domain.store.dto.condition.StoreSearchCondition; |
| 39 | +import com.jangburich.domain.store.dto.condition.StoreSearchConditionWithType; |
36 | 40 | import com.jangburich.domain.store.dto.response.OrdersDetailResponse;
|
37 | 41 | import com.jangburich.domain.store.dto.response.OrdersGetResponse;
|
38 | 42 | import com.jangburich.domain.store.dto.response.OrdersTodayResponse;
|
@@ -209,15 +213,15 @@ public StoreGetResponseDTO getStoreInfo(String authentication) {
|
209 | 213 | return new StoreGetResponseDTO().of(store);
|
210 | 214 | }
|
211 | 215 |
|
212 |
| - public List<StoreTeamResponse> getPaymentGroup(String userId) { |
| 216 | + public List<com.jangburich.domain.store.dto.StoreTeamResponse> getPaymentGroup(String userId) { |
213 | 217 | User user = userRepository.findByProviderId(userId)
|
214 |
| - .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
| 218 | + .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
215 | 219 |
|
216 | 220 | Owner owner = ownerRepository.findByUser(user)
|
217 |
| - .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
| 221 | + .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
218 | 222 |
|
219 | 223 | Store store = storeRepository.findByOwner(owner)
|
220 |
| - .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
| 224 | + .orElseThrow(() -> new DefaultNullPointerException(ErrorCode.INVALID_AUTHENTICATION)); |
221 | 225 |
|
222 | 226 | return storeTeamRepository.findAllByStore(store)
|
223 | 227 | .stream()
|
|
0 commit comments