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
792f746c
Commit
792f746c
authored
Nov 09, 2021
by
Joel Florentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lista de postulantes, left join
parent
81f5c43c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java
+3
-3
curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp
+1
-1
No files found.
curriculumsearch/src/main/java/com/roshka/repositorio/PostulanteRepository.java
View file @
792f746c
...
@@ -41,9 +41,9 @@ public interface PostulanteRepository extends JpaRepository<Postulante,Long> {
...
@@ -41,9 +41,9 @@ public interface PostulanteRepository extends JpaRepository<Postulante,Long> {
@Query
(
value
=
"select DISTINCT p "
+
@Query
(
value
=
"select DISTINCT p "
+
"from Postulante p join p.experiencias x "
+
"from Postulante p
left
join p.experiencias x "
+
"join p.estudios e "
+
"
left
join p.estudios e "
+
"join p.tecnologias pt "
+
"
left
join p.tecnologias pt "
+
"where (?1 is null or lower(p.nombre) LIKE lower(?1) or lower(p.apellido) LIKE lower(?1) ) "
+
"where (?1 is null or lower(p.nombre) LIKE lower(?1) or lower(p.apellido) LIKE lower(?1) ) "
+
"and (p.disponibilidad = ?2 or ?2 is null) "
+
"and (p.disponibilidad = ?2 or ?2 is null) "
+
"and (p.nivelIngles >= ?3 or ?3 is null) "
+
"and (p.nivelIngles >= ?3 or ?3 is null) "
+
...
...
curriculumsearch/src/main/webapp/jsp/detallepostulante.jsp
View file @
792f746c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<label>
Nombre: ${postulante.nombre}
</label><br>
<label>
Nombre: ${postulante.nombre}
</label><br>
<label>
Apellido ${postulante.apellido}
</label><br>
<label>
Apellido ${postulante.apellido}
</label><br>
<label>
Tipo de documento: ${postulante.tipoDocumento}
</label><br>
<label>
Tipo de documento: ${postulante.tipoDocumento}
</label><br>
<label>
Cedula: ${postulante.
ci
}
</label><br>
<label>
Cedula: ${postulante.
nroDocument
}
</label><br>
<label>
Correo: ${postulante.correo}
</label><br>
<label>
Correo: ${postulante.correo}
</label><br>
<label>
Departamento: ${postulante.getCiudad().getDepartamento().getNombre()}
</label><br>
<label>
Departamento: ${postulante.getCiudad().getDepartamento().getNombre()}
</label><br>
<label>
Ciudad: ${postulante.getCiudad().getNombre()}
</label><br>
<label>
Ciudad: ${postulante.getCiudad().getNombre()}
</label><br>
...
...
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