Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
th-app-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oscar Enrique Gonzalez Escurra
th-app-java
Commits
20b28aed
Commit
20b28aed
authored
Mar 30, 2023
by
Sofía Benitez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.\images\
parent
69d0cd8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
curriculumsearch/src/main/java/com/roshka/controller/FeriadoController.java
+1
-1
curriculumsearch/src/main/java/com/roshka/repositorio/FeriadoRepository.java
+1
-0
No files found.
curriculumsearch/src/main/java/com/roshka/controller/FeriadoController.java
View file @
20b28aed
...
@@ -62,7 +62,7 @@ public class FeriadoController {
...
@@ -62,7 +62,7 @@ public class FeriadoController {
}
}
@PostMapping
(
path
=
{
"/agregar"
,
"/modificar/{id}"
})
@PostMapping
(
path
=
{
"/agregar"
,
"/modificar/{id}"
})
public
String
addFeriado
(
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
public
String
addFeriado
(
@RequestPart
(
name
=
"motivoFeriado"
)
String
motivoFeriado
,
@RequestPart
(
name
=
"fecha"
)
String
fecha
,
@RequestPart
(
name
=
"fecha"
)
String
fecha
,
@PathVariable
(
required
=
false
)
Long
id
,
@PathVariable
(
required
=
false
)
Long
id
,
Model
model
)
{
Model
model
)
{
...
...
curriculumsearch/src/main/java/com/roshka/repositorio/FeriadoRepository.java
View file @
20b28aed
...
@@ -13,6 +13,7 @@ import java.util.List;
...
@@ -13,6 +13,7 @@ import java.util.List;
public
interface
FeriadoRepository
extends
JpaRepository
<
Feriado
,
Long
>
{
public
interface
FeriadoRepository
extends
JpaRepository
<
Feriado
,
Long
>
{
List
<
Feriado
>
findAllByFecha
(
Date
publicationDate
);
List
<
Feriado
>
findAllByFecha
(
Date
publicationDate
);
Feriado
findByFecha
(
Date
publicationDate
);
public
Page
<
Feriado
>
findByMotivoFeriadoContainingIgnoreCase
(
String
nombre
,
Pageable
pageable
);
public
Page
<
Feriado
>
findByMotivoFeriadoContainingIgnoreCase
(
String
nombre
,
Pageable
pageable
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment