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
078e03d5
Commit
078e03d5
authored
Nov 21, 2025
by
Denys Tito Urbano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] Parametro tipo_operacion en el reporte vacacional
parent
c343daa3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
PostgreSqlExcel.java
...ava/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
+6
-2
No files found.
src/main/java/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
View file @
078e03d5
...
...
@@ -296,8 +296,12 @@ public class PostgreSqlExcel implements ExcelDAO {
conexion
=
PostgreSqlFactoryDAO
.
obtenerConexion
(
"siiaa"
);
try
{
String
sql
=
"SELECT * FROM matricula.func_reporte_general_vacacional()"
;
ResultSet
rs
=
conexion
.
prepareStatement
(
sql
).
executeQuery
();
String
tipo_operacion
=
json
.
optString
(
"tipo_operacion"
);
String
sql
=
"SELECT * FROM matricula.func_reporte_general_vacacional(?)"
;
PreparedStatement
ps
=
conexion
.
prepareStatement
(
sql
);
ps
.
setString
(
1
,
tipo_operacion
);
ResultSet
rs
=
ps
.
executeQuery
();
if
(
rs
.
next
())
{
int
columnCount
=
rs
.
getMetaData
().
getColumnCount
();
...
...
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