-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'multi-dev' into feature/project-authorization-refactor-…
…#191
- Loading branch information
Showing
71 changed files
with
832 additions
and
467 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
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
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
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
7 changes: 7 additions & 0 deletions
7
Admin/src/main/java/com/seveneleven/company/repository/AdminCompanyHistoryRepository.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.seveneleven.company.repository; | ||
|
||
import com.seveneleven.entity.member.CompanyHistory; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AdminCompanyHistoryRepository extends JpaRepository<CompanyHistory, Long> { | ||
} |
18 changes: 18 additions & 0 deletions
18
Admin/src/main/java/com/seveneleven/company/repository/AdminCompanyHistoryStoreImpl.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.seveneleven.company.repository; | ||
|
||
import com.seveneleven.company.service.AdminCompanyHistoryStore; | ||
import com.seveneleven.entity.member.Company; | ||
import com.seveneleven.entity.member.CompanyHistory; | ||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
@RequiredArgsConstructor | ||
public class AdminCompanyHistoryStoreImpl implements AdminCompanyHistoryStore { | ||
private final AdminCompanyHistoryRepository adminCompanyHistoryRepository; | ||
|
||
@Override | ||
public void store(Company company) { | ||
adminCompanyHistoryRepository.save(CompanyHistory.of(company)); | ||
} | ||
} |
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
7 changes: 7 additions & 0 deletions
7
Admin/src/main/java/com/seveneleven/company/service/AdminCompanyHistoryService.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.seveneleven.company.service; | ||
|
||
import com.seveneleven.entity.member.Company; | ||
|
||
public interface AdminCompanyHistoryService { | ||
void saveHistory(Company company); | ||
} |
15 changes: 15 additions & 0 deletions
15
Admin/src/main/java/com/seveneleven/company/service/AdminCompanyHistoryServiceImpl.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.seveneleven.company.service; | ||
|
||
import com.seveneleven.entity.member.Company; | ||
import lombok.RequiredArgsConstructor; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
@RequiredArgsConstructor | ||
public class AdminCompanyHistoryServiceImpl implements AdminCompanyHistoryService{ | ||
private final AdminCompanyHistoryStore adminCompanyHistoryStore; | ||
@Override | ||
public void saveHistory(Company company) { | ||
adminCompanyHistoryStore.store(company); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Admin/src/main/java/com/seveneleven/company/service/AdminCompanyHistoryStore.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.seveneleven.company.service; | ||
|
||
import com.seveneleven.entity.member.Company; | ||
|
||
public interface AdminCompanyHistoryStore { | ||
void store(Company company); | ||
} |
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
Oops, something went wrong.