Skip to content

Commit

Permalink
Merge pull request #170 from KUIT-Space/refactor/#169/정산-홈-view-api
Browse files Browse the repository at this point in the history
Refactor/#169/정산 홈 view api
  • Loading branch information
seongjunnoh authored Nov 23, 2024
2 parents 595e7ad + 844c2c2 commit 9f29a36
Show file tree
Hide file tree
Showing 108 changed files with 1,777 additions and 1,366 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ out/
src/main/resource/application-local.yml
/**/application-local.yml
src/main/resource/application-dev.yml
/**/application-dev.yml
/**/application-dev.yml

### test yml file ###
src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
import org.springframework.web.context.request.NativeWebRequest;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.method.support.ModelAndViewContainer;
import space.space_spring.argumentResolver.jwtLogin.JwtLoginAuth;
import space.space_spring.dao.UserSpaceDao;
import space.space_spring.domain.userSpace.repository.UserSpaceDao;

@Component
@RequiredArgsConstructor
Expand Down
224 changes: 0 additions & 224 deletions src/main/java/space/space_spring/controller/PayController.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
import org.springframework.web.bind.annotation.*;

import space.space_spring.argumentResolver.jwtLogin.JwtLoginAuth;
import org.springframework.web.multipart.MultipartFile;

import space.space_spring.argumentResolver.userSpace.CheckUserSpace;
import space.space_spring.dto.post.request.CreatePostRequest;
import space.space_spring.dto.post.response.ReadPostDetailResponse;
import space.space_spring.dto.post.response.ReadPostsResponse;

import space.space_spring.entity.UserSpace;
import space.space_spring.domain.userSpace.model.entity.UserSpace;
import space.space_spring.exception.CustomException;
import space.space_spring.response.BaseResponse;
import space.space_spring.service.PostService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import space.space_spring.argumentResolver.jwtLogin.JwtLoginAuth;
import space.space_spring.argumentResolver.userSpace.UserSpaceAuth;
import space.space_spring.argumentResolver.userSpace.UserSpaceId;
import space.space_spring.dao.UserSpaceDao;
import space.space_spring.domain.userSpace.repository.UserSpaceDao;
import space.space_spring.dao.VoiceRoomRepository;
import space.space_spring.dto.VoiceRoom.*;

Expand All @@ -21,9 +21,7 @@
import space.space_spring.util.user.UserUtils;
import space.space_spring.util.userSpace.UserSpaceUtils;

import javax.print.DocFlavor;
import java.util.List;
import java.util.Optional;

import static space.space_spring.entity.enumStatus.UserSpaceAuth.MANAGER;
import static space.space_spring.response.status.BaseExceptionResponseStatus.*;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/space/space_spring/dao/CommentLikeDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.stereotype.Repository;
import space.space_spring.entity.Comment;
import space.space_spring.entity.CommentLike;
import space.space_spring.entity.User;
import space.space_spring.domain.user.model.entity.User;

import java.util.Optional;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/space/space_spring/dao/PostDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import space.space_spring.entity.Post;
import space.space_spring.entity.Space;
import space.space_spring.domain.space.model.entity.Space;

import java.util.List;

Expand Down
1 change: 1 addition & 0 deletions src/main/java/space/space_spring/dao/PostLikeDao.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package space.space_spring.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import space.space_spring.domain.user.model.entity.User;
import space.space_spring.entity.*;

import java.util.Optional;
Expand Down
6 changes: 1 addition & 5 deletions src/main/java/space/space_spring/dao/VoiceRoomDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import jakarta.transaction.Transactional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import space.space_spring.entity.Space;
import space.space_spring.domain.space.model.entity.Space;
import space.space_spring.entity.VoiceRoom;

import java.util.List;
import java.util.Optional;

@Repository
public class VoiceRoomDao {
@PersistenceContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import space.space_spring.entity.Space;
import space.space_spring.domain.space.model.entity.Space;
import space.space_spring.entity.VoiceRoom;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.springframework.data.jpa.repository.JpaRepository;
import space.space_spring.entity.ChatRoom;
import space.space_spring.entity.User;
import space.space_spring.domain.user.model.entity.User;
import space.space_spring.entity.UserChatRoom;
import space.space_spring.entity.enumStatus.BaseStatusType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package space.space_spring.dao.chat.custom;

import space.space_spring.entity.ChatRoom;
import space.space_spring.entity.Space;
import space.space_spring.entity.User;
import space.space_spring.domain.space.model.entity.Space;
import space.space_spring.domain.user.model.entity.User;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import com.querydsl.jpa.impl.JPAQueryFactory;
import lombok.RequiredArgsConstructor;
import space.space_spring.entity.ChatRoom;
import space.space_spring.entity.Space;
import space.space_spring.entity.User;
import space.space_spring.domain.space.model.entity.Space;
import space.space_spring.domain.user.model.entity.User;

import java.util.List;
import space.space_spring.entity.enumStatus.BaseStatusType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import space.space_spring.domain.authorization.jwt.service.JwtService;
import space.space_spring.domain.authorization.jwt.model.TokenPairDTO;
import space.space_spring.dto.oAuth.KakaoInfo;
import space.space_spring.entity.User;
import space.space_spring.domain.user.model.entity.User;
import space.space_spring.domain.authorization.OAuth.service.OAuthService;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.springframework.web.client.RestTemplate;
import space.space_spring.domain.user.repository.UserDao;
import space.space_spring.dto.oAuth.KakaoInfo;
import space.space_spring.entity.User;
import space.space_spring.domain.user.model.entity.User;
import space.space_spring.util.user.UserUtils;

import static space.space_spring.entity.enumStatus.UserSignupType.KAKAO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import space.space_spring.domain.authorization.jwt.model.TokenType;
import space.space_spring.domain.authorization.jwt.repository.JwtRepository;
import space.space_spring.domain.user.model.PostLoginDto;
import space.space_spring.entity.RefreshTokenStorage;
import space.space_spring.entity.User;
import space.space_spring.domain.authorization.jwt.model.entity.RefreshTokenStorage;
import space.space_spring.domain.user.model.entity.User;
import space.space_spring.exception.CustomException;
import space.space_spring.domain.authorization.jwt.model.JwtLoginProvider;
import space.space_spring.util.user.UserUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.springframework.web.bind.annotation.RestController;
import space.space_spring.domain.authorization.jwt.service.JwtService;
import space.space_spring.domain.authorization.jwt.model.TokenPairDTO;
import space.space_spring.entity.User;
import space.space_spring.response.BaseResponse;

import java.io.IOException;
Expand Down
Loading

0 comments on commit 9f29a36

Please sign in to comment.