|
@@ -1,7 +1,6 @@
|
|
|
package es.uv.saic.feign;
|
|
package es.uv.saic.feign;
|
|
|
|
|
|
|
|
import java.io.File;
|
|
import java.io.File;
|
|
|
-import java.io.IOException;
|
|
|
|
|
import java.math.BigInteger;
|
|
import java.math.BigInteger;
|
|
|
import java.sql.Timestamp;
|
|
import java.sql.Timestamp;
|
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
@@ -35,11 +34,11 @@ public interface ProceduresClient {
|
|
|
@PostMapping("/procedure/files/{id}")
|
|
@PostMapping("/procedure/files/{id}")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public HashMap<String, Object> updateInstanciaTascaEvidencia(@PathVariable BigInteger id, @RequestParam Map<String,String> params,
|
|
public HashMap<String, Object> updateInstanciaTascaEvidencia(@PathVariable BigInteger id, @RequestParam Map<String,String> params,
|
|
|
- @RequestBody(required = true) List<File> evidencias, @RequestParam String usuari) throws IllegalStateException, IOException;
|
|
|
|
|
|
|
+ @RequestBody(required = true) List<File> evidencias, @RequestParam String usuari);
|
|
|
|
|
|
|
|
@PostMapping("/procedure/{id}")
|
|
@PostMapping("/procedure/{id}")
|
|
|
public HashMap<String, Object> updateInstanciaTasca(@PathVariable BigInteger id, @RequestBody Map<String,String> params,
|
|
public HashMap<String, Object> updateInstanciaTasca(@PathVariable BigInteger id, @RequestBody Map<String,String> params,
|
|
|
- @RequestParam(required = false) List<MultipartFile> evidencias, @RequestParam String usuari) throws IllegalStateException, IOException, InterruptedException;
|
|
|
|
|
|
|
+ @RequestParam(required = false) List<MultipartFile> evidencias, @RequestParam String usuari);
|
|
|
|
|
|
|
|
@PostMapping("/procedure/save/{id}")
|
|
@PostMapping("/procedure/save/{id}")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@@ -63,27 +62,26 @@ public interface ProceduresClient {
|
|
|
@GetMapping("/tipus/findAll")
|
|
@GetMapping("/tipus/findAll")
|
|
|
public List<Tipus> findAll();
|
|
public List<Tipus> findAll();
|
|
|
|
|
|
|
|
- @PostMapping("/ajax/search/years")
|
|
|
|
|
|
|
+ @PostMapping("/search/years")
|
|
|
public HashMap<String, Object> getYearsByCenterTitulation(
|
|
public HashMap<String, Object> getYearsByCenterTitulation(
|
|
|
@RequestParam(name="centers[]", required=false) List<Integer> centres,
|
|
@RequestParam(name="centers[]", required=false) List<Integer> centres,
|
|
|
- @RequestParam("titulations[]") List<Integer> titulacions, @RequestParam String usuari) throws IOException;
|
|
|
|
|
|
|
+ @RequestParam("titulations[]") List<Integer> titulacions, @RequestParam String usuari);
|
|
|
|
|
|
|
|
- @PostMapping("/ajax/search/procedures")
|
|
|
|
|
|
|
+ @PostMapping("/search/procedures")
|
|
|
public HashMap<String, Object> getProceduresByCenterTitulationYear(
|
|
public HashMap<String, Object> getProceduresByCenterTitulationYear(
|
|
|
@RequestParam(name="centers[]", required=false) List<Integer> centres,
|
|
@RequestParam(name="centers[]", required=false) List<Integer> centres,
|
|
|
@RequestParam("years[]") List<Integer> cursos,
|
|
@RequestParam("years[]") List<Integer> cursos,
|
|
|
@RequestParam("titulations[]") List<Integer> titulacions,
|
|
@RequestParam("titulations[]") List<Integer> titulacions,
|
|
|
- @RequestParam String usuari) throws IOException;
|
|
|
|
|
|
|
+ @RequestParam String usuari);
|
|
|
|
|
|
|
|
- @PostMapping("/ajax/find/procedure")
|
|
|
|
|
|
|
+ @PostMapping("/find/procedure")
|
|
|
public HashMap<String, Object> findProcedure(@RequestParam("procedure") String idProces,
|
|
public HashMap<String, Object> findProcedure(@RequestParam("procedure") String idProces,
|
|
|
- @RequestParam("action") String action) throws IOException;
|
|
|
|
|
|
|
+ @RequestParam("action") String action);
|
|
|
|
|
|
|
|
- @PostMapping("/ajax/template/form")
|
|
|
|
|
|
|
+ @PostMapping("/template/form")
|
|
|
public HashMap<String, Object> formTemplate(@RequestParam("id") Integer idPlantilla,
|
|
public HashMap<String, Object> formTemplate(@RequestParam("id") Integer idPlantilla,
|
|
|
- @RequestParam("action") String action) throws IOException;
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ @RequestParam("action") String action);
|
|
|
|
|
+
|
|
|
@GetMapping("/find/proces/{idProces}")
|
|
@GetMapping("/find/proces/{idProces}")
|
|
|
public Proces findProcesByID(@PathVariable Integer idProces);
|
|
public Proces findProcesByID(@PathVariable Integer idProces);
|
|
|
|
|
|