Skip to content

Commit

Permalink
Renamed field as birthdate is a single word
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia committed Nov 27, 2023
1 parent 7d722b4 commit 00e9aae
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import ca.bc.gov.app.dto.SubmissionInformationDto;
import ca.bc.gov.app.repository.client.SubmissionContactRepository;
import ca.bc.gov.app.repository.client.SubmissionDetailRepository;
import java.time.LocalDate;
import java.util.Map;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Mono<Message<ForestClientEntity>> generateForestClient(Message<String> me
getUser(message, ApplicationConstant.CREATED_BY),
getUser(message, ApplicationConstant.UPDATED_BY)
)
.withBirthDate(detailEntity.getBirthdate())
.withBirthdate(detailEntity.getBirthdate())
.withLegalFirstName(ProcessorUtil.splitName(detailEntity.getOrganizationName())[1].toUpperCase())
.withClientName(ProcessorUtil.splitName(detailEntity.getOrganizationName())[0].toUpperCase())
.withClientComment("Individual with data acquired from BC Services Card")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public Mono<Message<ForestClientEntity>> generateForestClient(Message<String> me
getUser(message, ApplicationConstant.CREATED_BY),
getUser(message, ApplicationConstant.UPDATED_BY)
)
.withBirthDate(submissionDetail.getBirthdate())
.withBirthdate(submissionDetail.getBirthdate())
.withClientIdentification(submissionDetail.getIncorporationNumber())
.withClientComment(
String.join(" ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public Mono<Message<ForestClientEntity>> generateForestClient(Message<String> me
getUser(message, ApplicationConstant.CREATED_BY),
getUser(message, ApplicationConstant.UPDATED_BY)
)
.withBirthDate(detail.getBirthdate())
.withBirthdate(detail.getBirthdate())
.withLegalFirstName(ProcessorUtil.splitName(detail.getOrganizationName())[1].toUpperCase())
.withClientName(ProcessorUtil.splitName(detail.getOrganizationName())[0].toUpperCase())
.withLegalMiddleName(ProcessorUtil.splitName(detail.getOrganizationName())[2].toUpperCase())
Expand Down

0 comments on commit 00e9aae

Please sign in to comment.