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
86584e0f
Commit
86584e0f
authored
Nov 03, 2021
by
Cesar Giulano Gonzalez Maqueda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ListarPostulantes Por tecnologia dos
parent
dca3cb01
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
+2
-1
curriculumsearch/src/main/java/com/roshka/modelo/Tecnologia.java
+2
-1
No files found.
curriculumsearch/src/main/java/com/roshka/controller/PostulanteController.java
View file @
86584e0f
...
...
@@ -19,6 +19,7 @@ import org.springframework.web.servlet.ModelAndView;
import
java.sql.SQLOutput
;
import
java.util.List
;
import
java.util.Locale
;
@Controller
...
...
@@ -72,7 +73,7 @@ public class PostulanteController {
public
ModelAndView
getPostTec
(
@PathVariable
(
"name"
)
String
name
){
System
.
out
.
println
(
name
);
ModelAndView
mv
=
new
ModelAndView
(
"list-test"
);
mv
.
addObject
(
"lista"
,
post
.
buscarPostulantesPorTecnologia
(
name
));
mv
.
addObject
(
"lista"
,
post
.
buscarPostulantesPorTecnologia
(
name
.
toLowerCase
()
));
return
mv
;
}
...
...
curriculumsearch/src/main/java/com/roshka/modelo/Tecnologia.java
View file @
86584e0f
...
...
@@ -7,6 +7,7 @@ import javax.persistence.GenerationType;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Locale
;
@Entity
@Table
(
name
=
"tecnologia"
)
...
...
@@ -28,7 +29,7 @@ public class Tecnologia {
this
.
id
=
id
;
}
public
String
getNombre
()
{
return
nombre
;
return
nombre
.
toLowerCase
()
;
}
public
void
setNombre
(
String
nombre
)
{
this
.
nombre
=
nombre
;
...
...
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