Skip to content

Commit

Permalink
Merge: blockchain key μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
oueya1479 committed Nov 8, 2023
2 parents 9e3cdeb + 3f01b54 commit 538f8e4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/com/gaseng/kyc/service/KycManageService.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public Long save(Long kycrId, KycSaveRequest request) throws Exception {
} else if (request.status() == KycNoticeStatus.REJECT) {
member.setStatus(MemberStatus.REJECT);
} else if (request.status() == KycNoticeStatus.APPROVE){
Long id = saveKyc(member);
saveKyc(member);
kycInterface.setKyc(
id,
member.getMemId(),
entity.getKycrName(),
entity.getKycrBirth().toString(),
entity.getKycrAddress(),
Expand All @@ -93,15 +93,13 @@ public Long save(Long kycrId, KycSaveRequest request) throws Exception {

}

private Long saveKyc(Member member) {
private void saveKyc(Member member) {

String address = "";
Kyc kyc = Kyc.builder()
.member(member)
.build();

return kycRepository.save(kyc).getKycId();

}

}

0 comments on commit 538f8e4

Please sign in to comment.