Commit df360d58 by Denys Tito Urbano

[EDIT] PARAMETRO ESTADO_ID AGREGADO AL MÉTODO ctualizar_examen

parent b6abace7
......@@ -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"));
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment