pensado para devolver tres pujas
Some checks failed
Deploy Spring Boot App / build-and-deploy (push) Has been cancelled
Some checks failed
Deploy Spring Boot App / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -27,12 +27,14 @@ public class PujaController {
|
||||
.map(ResponseEntity::ok)
|
||||
.orElse(ResponseEntity.notFound().build());
|
||||
}
|
||||
|
||||
|
||||
//espera un id y devuelve un reporte de la mayor puja por lote
|
||||
@GetMapping("/informe/{remateId}")
|
||||
public List<Puja> getForInforme(@PathVariable Long remateId){
|
||||
return pujaService.fingForReporte(remateId);
|
||||
}
|
||||
|
||||
//espera un id y te vuelve las ultimas n pujas (la cantidad de pujas se pasa por limite)
|
||||
@GetMapping("/informe/npujas/{remateId}")
|
||||
public ResponseEntity<List<Puja>> getReporteTopPujas(
|
||||
@PathVariable Long remateId,
|
||||
|
||||
Reference in New Issue
Block a user