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
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
Hide 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 {
return
args
->
{
try
{
// read json and write to db
guardarJson
(
cargoR
,
"/json/cargo.json"
,
Cargo
.
class
);
guardarJson
(
convR
,
"/json/convocatoria.json"
,
ConvocatoriaCargo
.
class
);
guardarJson
(
depR
,
"/json/Departamento.json"
,
Departamento
.
class
);
//
guardarJson(cargoR,"/json/cargo.json",Cargo.class);
//
guardarJson(convR,"/json/convocatoria.json",ConvocatoriaCargo.class);
//
guardarJson(depR,"/json/Departamento.json",Departamento.class);
guardarJson
(
ciudR
,
"/json/Ciudad.json"
,
Ciudad
.
class
);
guardarJson
(
tecRepo
,
"/json/tecnologia.json"
,
Tecnologia
.
class
);
guardarJson
(
insR
,
"/json/institucion.json"
,
Institucion
.
class
);
guardarJson
(
postRepo
,
"/json/postulante.json"
,
Postulante
.
class
);
//
guardarJson(tecRepo,"/json/tecnologia.json",Tecnologia.class);
//
guardarJson(insR,"/json/institucion.json",Institucion.class);
//
guardarJson(postRepo,"/json/postulante.json",Postulante.class);
String
password
=
new
BCryptPasswordEncoder
().
encode
(
"test"
);
RRHHUser
testuser
=
new
RRHHUser
();
...
...
curriculumsearch/src/main/java/com/roshka/controller/FeriadoController.java
View file @
69d0cd8e
...
...
@@ -62,8 +62,7 @@ public class FeriadoController {
}
@PostMapping
(
path
=
{
"/agregar"
,
"/modificar/{id}"
})
public
String
addFeriado
(
@RequestPart
(
name
=
"file"
)
MultipartFile
file
,
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
public
String
addFeriado
(
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
@RequestPart
(
name
=
"fecha"
)
String
fecha
,
@PathVariable
(
required
=
false
)
Long
id
,
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