|
|
@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import es.uv.saic.service.PlantillaService;
|
|
|
@@ -46,6 +47,11 @@ public class PlantillaController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/evidencia")
|
|
|
+ public Plantilla findEvidencia(@RequestParam Integer codiEvidencia, @RequestParam Integer titulacio, @RequestParam String tambit) {
|
|
|
+ return ps.findEvidencia(codiEvidencia, titulacio, tambit);
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping
|
|
|
public String save(@RequestBody Plantilla plantilla) {
|
|
|
try {
|