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
df360d58
Commit
df360d58
authored
May 23, 2023
by
Denys Tito Urbano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[EDIT] PARAMETRO ESTADO_ID AGREGADO AL MÉTODO ctualizar_examen
parent
b6abace7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
PostgreSqlExcel.java
...ava/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
+1
-1
ExcelServices.java
...ain/java/pe/so/api/formulario/services/ExcelServices.java
+5
-1
No files found.
src/main/java/pe/so/api/formulario/postgresdao/PostgreSqlExcel.java
View file @
df360d58
...
...
@@ -669,7 +669,7 @@ public class PostgreSqlExcel implements ExcelDAO {
@Override
public
JSONObject
actualizar_examen
(
JSONObject
entrada
)
throws
Exception
{
String
sql
=
"SELECT * FROM academico.func_examen_actualizar ( ?, ?, ?, ?, ?, ?, ?, ? :: JSON );"
;
String
sql
=
"SELECT * FROM academico.func_examen_actualizar ( ?, ?, ?, ?, ?, ?, ?, ?
, ?
:: JSON );"
;
JSONObject
data
=
PostgreSqlFactoryDAO
.
queryPSSingle
(
"siiaa"
,
sql
,
entrada
.
getJSONArray
(
"params"
));
return
new
JSONObject
(
data
.
getString
(
"json"
));
}
...
...
src/main/java/pe/so/api/formulario/services/ExcelServices.java
View file @
df360d58
...
...
@@ -157,8 +157,12 @@ public class ExcelServices{
params
.
put
(
6
,
entrada
.
getString
(
"url_respuesta"
));
}
if
(!
entrada
.
isNull
(
"estado_id"
))
{
params
.
put
(
7
,
entrada
.
getInt
(
"estado_id"
));
}
if
(!
entrada
.
isNull
(
"lista_examen"
))
{
params
.
put
(
7
,
entrada
.
getJSONArray
(
"lista_examen"
));
params
.
put
(
8
,
entrada
.
getJSONArray
(
"lista_examen"
));
}
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