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
69d0cd8e
Commit
69d0cd8e
authored
Mar 30, 2023
by
Sofía Benitez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cambio de nombre de variable
parent
e489f2ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
curriculumsearch/src/main/java/com/roshka/CurriculumsearchApplication.java
+6
-6
curriculumsearch/src/main/java/com/roshka/controller/FeriadoController.java
+1
-2
No files found.
curriculumsearch/src/main/java/com/roshka/CurriculumsearchApplication.java
View file @
69d0cd8e
...
@@ -37,13 +37,13 @@ public class CurriculumsearchApplication {
...
@@ -37,13 +37,13 @@ public class CurriculumsearchApplication {
return
args
->
{
return
args
->
{
try
{
try
{
// read json and write to db
// read json and write to db
guardarJson
(
cargoR
,
"/json/cargo.json"
,
Cargo
.
class
);
//
guardarJson(cargoR,"/json/cargo.json",Cargo.class);
guardarJson
(
convR
,
"/json/convocatoria.json"
,
ConvocatoriaCargo
.
class
);
//
guardarJson(convR,"/json/convocatoria.json",ConvocatoriaCargo.class);
guardarJson
(
depR
,
"/json/Departamento.json"
,
Departamento
.
class
);
//
guardarJson(depR,"/json/Departamento.json",Departamento.class);
guardarJson
(
ciudR
,
"/json/Ciudad.json"
,
Ciudad
.
class
);
guardarJson
(
ciudR
,
"/json/Ciudad.json"
,
Ciudad
.
class
);
guardarJson
(
tecRepo
,
"/json/tecnologia.json"
,
Tecnologia
.
class
);
//
guardarJson(tecRepo,"/json/tecnologia.json",Tecnologia.class);
guardarJson
(
insR
,
"/json/institucion.json"
,
Institucion
.
class
);
//
guardarJson(insR,"/json/institucion.json",Institucion.class);
guardarJson
(
postRepo
,
"/json/postulante.json"
,
Postulante
.
class
);
//
guardarJson(postRepo,"/json/postulante.json",Postulante.class);
String
password
=
new
BCryptPasswordEncoder
().
encode
(
"test"
);
String
password
=
new
BCryptPasswordEncoder
().
encode
(
"test"
);
RRHHUser
testuser
=
new
RRHHUser
();
RRHHUser
testuser
=
new
RRHHUser
();
...
...
curriculumsearch/src/main/java/com/roshka/controller/FeriadoController.java
View file @
69d0cd8e
...
@@ -62,8 +62,7 @@ public class FeriadoController {
...
@@ -62,8 +62,7 @@ public class FeriadoController {
}
}
@PostMapping
(
path
=
{
"/agregar"
,
"/modificar/{id}"
})
@PostMapping
(
path
=
{
"/agregar"
,
"/modificar/{id}"
})
public
String
addFeriado
(
@RequestPart
(
name
=
"file"
)
MultipartFile
file
,
public
String
addFeriado
(
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
@RequestPart
(
name
=
"fecha"
)
String
fecha
,
@RequestPart
(
name
=
"fecha"
)
String
fecha
,
@PathVariable
(
required
=
false
)
Long
id
,
@PathVariable
(
required
=
false
)
Long
id
,
Model
model
)
{
Model
model
)
{
...
...
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