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
0
Merge Requests
0
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
Amparo Oliver
th-app-java
Commits
ba7b03ad
Commit
ba7b03ad
authored
Nov 04, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'William_001' of
https://phoebe.roshka.com/gitlab/hshah/TalentoHumano
into joel-001
parents
72be946f
31173087
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
+3
-0
curriculumsearch/src/main/java/com/roshka/repositorio/ExperienciaRepository.java
+4
-2
curriculumsearch/src/main/webapp/jsp/cargo.jsp
+22
-0
No files found.
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
ba7b03ad
...
...
@@ -8,6 +8,7 @@ import javax.validation.ConstraintViolationException;
import
com.roshka.modelo.Disponibilidad
;
import
com.roshka.modelo.Modalidad
;
import
com.roshka.modelo.Postulante
;
import
com.roshka.repositorio.ExperienciaRepository
;
import
com.roshka.repositorio.PostulanteRepository
;
import
com.roshka.repositorio.TecnologiaRepository
;
...
...
@@ -35,6 +36,8 @@ public class PostulanteController {
@Autowired
TecnologiaRepository
tecRepo
;
@Autowired
ExperienciaRepository
expRepo
;
@RequestMapping
(
"/"
)
public
String
index
()
{
List
<
Postulante
>
j
=
post
.
personasConExperienciaMayor
(
30
);
...
...
curriculumsearch/src/main/java/com/roshka/repositorio/ExperienciaRepository.java
View file @
ba7b03ad
...
...
@@ -2,9 +2,11 @@ package com.roshka.repositorio;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
java.util.List
;
import
com.roshka.modelo.Experiencia
;
public
interface
ExperienciaRepository
extends
JpaRepository
<
Experiencia
,
Long
>
{
public
List
<
Experiencia
>
findByCargoLike
(
String
cargo
);
}
curriculumsearch/src/main/webapp/jsp/cargo.jsp
0 → 100644
View file @
ba7b03ad
<
%@
taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%
>
<
%@
taglib
prefix=
"form"
uri=
"http://www.springframework.org/tags/form"
%
>
<
%@
page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%
>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Cargo
</title>
</head>
<body>
<h1>
Hola
</h1>
<c:forEach
var=
"i"
items=
"${postu}"
>
<tr>
<td>
- ${i.getPostulante().getNombre()}
</td>
</tr>
<br/>
</c:forEach>
</body>
</html>
\ No newline at end of file
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