Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
295a7cf0
You need to sign in or sign up before continuing.
Commit
295a7cf0
authored
Nov 01, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'giuli_001' of
https://phoebe.roshka.com/gitlab/hshah/TalentoHumano
into joel-001
parents
c057b0e2
37797605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
+6
-2
No files found.
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
295a7cf0
...
...
@@ -5,6 +5,7 @@ import java.util.Date;
import
javax.servlet.http.HttpServletRequest
;
import
com.roshka.modelo.Experiencia
;
import
com.roshka.modelo.Postulante
;
import
com.roshka.repositorio.PostulanteRepository
;
...
...
@@ -33,8 +34,11 @@ public class PostulanteController {
@PostMapping
(
value
=
"/postulante"
,
consumes
=
"application/json"
)
public
String
guardarPostulante
(
@RequestBody
Postulante
postulante
){
System
.
out
.
println
(
postulante
.
getExperiencias
().
get
(
0
).
getCargo
());
post
.
save
(
postulante
);
for
(
Experiencia
exp:
postulante
.
getExperiencias
()){
exp
.
setPostulante
(
postulante
);
}
post
.
save
(
postulante
);
return
"redirect:/"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment