Commit 84cb6c7c authored by Marcel Sekatcheff's avatar Marcel Sekatcheff

Commit Inicial con archivos del sistema

parent 66e076c9
rm -rf busqueda_s/
rm -rf busqueda_a/
rm -rf exped_x_seccion/
rm -rf exped_x_tramite/
rm -rf expedientes/
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1">
<list-property name="configVars">
<structure>
<property name="name">__isdisplay__param_cod_inst_676_0</property>
<property name="value">REC</property>
</structure>
<structure>
<property name="name">__isdisplay__param_cod_tra_687_1</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_tema_gral_688_2</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_f_inicio_ini_689_3</property>
<property name="value">01/05/2009</property>
</structure>
<structure>
<property name="name">__isdisplay__param_f_inicio_fin_697_4</property>
<property name="value">30/06/2009</property>
</structure>
<structure>
<property name="name">__isdisplay__param_estado_sol_690_5</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_estado_actual_704_6</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_cod_sec_691_7</property>
<property name="value">DAC</property>
</structure>
<structure>
<property name="name">__isdisplay__param_f_entrada_692_8</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_f_salida_693_9</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_nombre_694_10</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_apellido_695_11</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_razon_696_12</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__filtro_679_13</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_estado_tramite_705_14</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_estado_tramite_705_15</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_estado_tramite_705_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_estado_actual_704_16</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_estado_actual_704_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">filtro_679_17</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">filtro_679_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_cod_sec_691_18</property>
<property name="value">DAC</property>
</structure>
<structure>
<property name="name">param_cod_sec_691_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_nombre_694_19</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_nombre_694_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_f_salida_693_20</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_f_salida_693_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_f_inicio_ini_689_21</property>
<property name="value">01/05/2009</property>
</structure>
<structure>
<property name="name">param_f_inicio_ini_689_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_f_entrada_692_22</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_f_entrada_692_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_tema_gral_688_23</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_tema_gral_688_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_razon_696_24</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_razon_696_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_f_inicio_fin_697_25</property>
<property name="value">30/06/2009</property>
</structure>
<structure>
<property name="name">param_f_inicio_fin_697_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_cod_inst_676_26</property>
<property name="value">REC</property>
</structure>
<structure>
<property name="name">param_cod_inst_676_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_cod_tra_687_27</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_cod_tra_687_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_apellido_695_28</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_apellido_695_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_estado_sol_690_29</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_estado_sol_690_type_</property>
<property name="value">string</property>
</structure>
</list-property>
<styles>
<style name="crosstab-cell" id="2">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="3">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
</report>
This diff is collapsed.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
import="java.util.HashMap"%>
<%@ page import="java.util.StringTokenizer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Reporte de Busqueda Avanzado</title>
</head>
<body>
<%
//Recibir Parametros
String cod_inst = request.getParameter("cod_inst");
String cod_tra = request.getParameter("cod_tra");
String tema_gral = request.getParameter("tema_gral");
String f_inicio_ini = request.getParameter("f_inicio_ini");
String f_inicio_fin = request.getParameter("f_inicio_fin");
String estado_sol = request.getParameter("estado_sol");
String estado_tramite= request.getParameter("estado_tramite");
String estado_actual= request.getParameter("estado_actual");
String cod_sec = request.getParameter("cod_sec");
String f_entrada = request.getParameter("f_entrada");
String f_salida = request.getParameter("f_salida");
String nombre = request.getParameter("nombre");
String apellido = request.getParameter("apellido");
//Comienza la maldita funcion
String campo = "e.tema_gral";
String resultado = "";
String texto = tema_gral;
StringTokenizer tokens = new StringTokenizer(texto, " ");
if(tokens.countTokens() == 1){
String palabra = tokens.nextToken();
resultado = resultado + " upper(translate(" + campo + ",'ÁÉÍÓÚáéíóú', 'AEIOUaeiou')) ~* upper(translate( \'" + palabra + "\' ,'ÁÉÍÓÚáéíóú', 'AEIOUaeiou')) ";
}else if(tokens.countTokens() > 1){
while(tokens.hasMoreTokens()){
String palabra = tokens.nextToken();
resultado = resultado + " upper(translate(" + campo + ",'ÁÉÍÓÚáéíóú', 'AEIOUaeiou')) ~* upper(translate( \'" + palabra + "\' ,'ÁÉÍÓÚáéíóú', 'AEIOUaeiou')) ";
if(tokens.countTokens() > 0){
resultado = resultado + "AND ";
}
}
}else{
resultado = tema_gral;
}
//Termina la maldita funcion
java.lang.String teststr = "1er texto";
//Cargo el hash con la consulta generada
java.util.HashMap hm = new HashMap();
hm.put("Entry1", resultado );
request.setAttribute( "AppContextKey", teststr );
request.setAttribute( "AppContextValue", hm );
//Crear URL con parametros distintos al guardado en el request
String parametros = "/frameset?__report=ReportesGDocBirt/busqueda_a/busqueda_a.rptdesign&__format=pdf";
parametros += "&param_cod_inst=" + cod_inst;
parametros += "&param_cod_tra=" + cod_tra;
parametros += "&param_tema_gral=" + tema_gral;
parametros += "&param_f_inicio_ini=" + f_inicio_ini;
parametros += "&param_f_inicio_fin=" + f_inicio_fin;
parametros += "&param_estado_sol=" + estado_sol;
parametros += "&param_estado_tramite=" + estado_tramite;
parametros += "&param_estado_actual=" + estado_actual;
parametros += "&param_cod_sec=" + cod_sec;
parametros += "&param_f_entrada=" + f_entrada;
parametros += "&param_f_salida=" + f_salida;
parametros += "&param_nombre=" + nombre;
parametros += "&param_apellido=" + apellido;
%>
<jsp:forward page= "<%=parametros %>"/>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1">
<list-property name="configVars">
<structure>
<property name="name">__isdisplay__param_anho_exp_603_0</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_nro_exp_604_1</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_ci_ruc_605_2</property>
<property name="value">FP</property>
</structure>
<structure>
<property name="name">__isdisplay__param_estado_606_3</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_nro_recibo_607_4</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_anho_recibo_608_5</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">__isdisplay__param_cod_inst_676_6</property>
<property name="value">REC</property>
</structure>
<structure>
<property name="name">__isdisplay__filtro_679_7</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_nro_exp_604_8</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_nro_exp_604_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_anho_exp_603_9</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_anho_exp_603_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">filtro_679_10</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">filtro_679_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_ci_ruc_605_11</property>
<property name="value">FP</property>
</structure>
<structure>
<property name="name">param_ci_ruc_605_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_cod_inst_676_12</property>
<property name="value">REC</property>
</structure>
<structure>
<property name="name">param_cod_inst_676_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_estado_606_13</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_estado_606_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_anho_recibo_608_14</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_anho_recibo_608_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">param_nro_recibo_607_15</property>
<property name="value"></property>
</structure>
<structure>
<property name="name">param_nro_recibo_607_type_</property>
<property name="value">string</property>
</structure>
</list-property>
<styles>
<style name="crosstab-cell" id="2">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="3">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
</report>
This diff is collapsed.
SERV_OLD='sbd.rec.una.py'
SERV_NEW='sbd.der.una.py'
DIR=$(ls)
for undir in $DIR
do
if test -d $undir
then
cd $undir
echo 'Estamos en' `pwd`
sed -i 's/'$SERV_OLD'/'$SERV_NEW'/' *
cd ..
fi
done
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.15" id="1">
<list-property name="configVars">
<structure>
<property name="name">__isdisplay__nro_10_0</property>
<property name="value">6660</property>
</structure>
<structure>
<property name="name">__isdisplay__anho_11_1</property>
<property name="value">2008</property>
</structure>
<structure>
<property name="name">nro_10_2</property>
<property name="value">6660</property>
</structure>
<structure>
<property name="name">nro_10_type_</property>
<property name="value">string</property>
</structure>
<structure>
<property name="name">anho_11_3</property>
<property name="value">2008</property>
</structure>
<structure>
<property name="name">anho_11_type_</property>
<property name="value">string</property>
</structure>
</list-property>
<styles>
<style name="crosstab-cell" id="2">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="3">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
</report>
This diff is collapsed.
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