Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
formulario-api
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Denys Tito Urbano
formulario-api
Commits
364d3f90
Commit
364d3f90
authored
Mar 18, 2026
by
Denys Tito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] Parametro tipo_informe_id en actualizar informe vacacional
parent
356fa6fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
PostgreSqlExcel.java
...ava/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
+1
-1
ExcelServices.java
...ain/java/pe/so/api/formulario/services/ExcelServices.java
+4
-0
No files found.
src/main/java/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
View file @
364d3f90
...
@@ -773,7 +773,7 @@ public class PostgreSqlExcel implements ExcelDAO {
...
@@ -773,7 +773,7 @@ public class PostgreSqlExcel implements ExcelDAO {
@Override
@Override
public
JSONObject
informeVacacionalActualizar
(
JSONObject
body
)
throws
Exception
{
public
JSONObject
informeVacacionalActualizar
(
JSONObject
body
)
throws
Exception
{
String
sql
=
"SELECT * FROM matricula.func_informe_vacacional_actualizar ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? );"
;
String
sql
=
"SELECT * FROM matricula.func_informe_vacacional_actualizar ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
, ?
);"
;
JSONObject
data
=
PostgreSqlFactoryDAO
.
queryPSSingle
(
"siiaa"
,
sql
,
body
.
getJSONArray
(
"params"
));
JSONObject
data
=
PostgreSqlFactoryDAO
.
queryPSSingle
(
"siiaa"
,
sql
,
body
.
getJSONArray
(
"params"
));
return
new
JSONObject
(
data
.
getString
(
"json"
));
return
new
JSONObject
(
data
.
getString
(
"json"
));
}
}
...
...
src/main/java/pe/so/api/formulario/services/ExcelServices.java
View file @
364d3f90
...
@@ -672,6 +672,10 @@ public class ExcelServices {
...
@@ -672,6 +672,10 @@ public class ExcelServices {
params
.
put
(
27
,
entrada
.
getInt
(
"matricula_id"
));
params
.
put
(
27
,
entrada
.
getInt
(
"matricula_id"
));
}
}
if
(!
entrada
.
isNull
(
"tipo_informe_id"
))
{
params
.
put
(
28
,
entrada
.
getInt
(
"tipo_informe_id"
));
}
return
dao
.
informeVacacionalActualizar
(
entrada
.
put
(
"params"
,
params
));
return
dao
.
informeVacacionalActualizar
(
entrada
.
put
(
"params"
,
params
));
}
}
...
...
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