Commit 69d0cd8e by Sofía Benitez

Cambio de nombre de variable

parent e489f2ad
......@@ -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();
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment