|
|
@@ -8,8 +8,12 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|
|
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.RequestParam;
|
|
|
|
|
|
+import es.uv.saic.shared.domain.InstanciaTascaTransfer;
|
|
|
import es.uv.saic.shared.domain.Plantilla;
|
|
|
+import es.uv.saic.shared.dto.InstanciaTascaDTO;
|
|
|
+import es.uv.saic.shared.dto.InstanciaTascaPlantillaDTO;
|
|
|
import es.uv.saic.shared.dto.PdfDTO;
|
|
|
import es.uv.saic.shared.dto.TemplateDataDTO;
|
|
|
|
|
|
@@ -17,7 +21,7 @@ import es.uv.saic.shared.dto.TemplateDataDTO;
|
|
|
public interface PlantillaClient {
|
|
|
|
|
|
//Se usa
|
|
|
- @GetMapping("/plantillas")
|
|
|
+ @GetMapping("/plantilla")
|
|
|
List<Plantilla> findAll();
|
|
|
|
|
|
//Se usa
|
|
|
@@ -36,13 +40,10 @@ public interface PlantillaClient {
|
|
|
@GetMapping("/plantilla/used/{id}")
|
|
|
Boolean isUsed(@PathVariable("id") Integer id);
|
|
|
|
|
|
- @PostMapping("/plantilla/addTemplateData")
|
|
|
- String addTemplateData(@RequestBody TemplateDataDTO td);
|
|
|
-
|
|
|
- //Se usa
|
|
|
- @PostMapping("/plantilla/addTemplateData2")
|
|
|
- String addTemplateData2(@RequestBody TemplateDataDTO td);
|
|
|
-
|
|
|
@PostMapping("/plantilla/savePDF")
|
|
|
String savePDF(@RequestBody PdfDTO pdf);
|
|
|
+
|
|
|
+ @GetMapping("/plantilla/data")
|
|
|
+ InstanciaTascaTransfer searchPlantilla(@RequestBody InstanciaTascaPlantillaDTO itp);
|
|
|
+
|
|
|
}
|