Cambios finales
This commit is contained in:
parent
2b2c59ab28
commit
db1150dfec
|
|
@ -13,6 +13,7 @@ import com.qsoft.erp.dominio.ConsultaGenerica;
|
||||||
import com.qsoft.erp.dominio.exception.DominioExcepcion;
|
import com.qsoft.erp.dominio.exception.DominioExcepcion;
|
||||||
import com.qsoft.erp.dominio.util.AuditoriaUtil;
|
import com.qsoft.erp.dominio.util.AuditoriaUtil;
|
||||||
import com.qsoft.wmp.services.util.ServiceUtil;
|
import com.qsoft.wmp.services.util.ServiceUtil;
|
||||||
|
import com.qsoft.wmp.services.xsd.BodyEntradaConsulta;
|
||||||
import com.qsoft.wmp.services.xsd.EntradaConsulta;
|
import com.qsoft.wmp.services.xsd.EntradaConsulta;
|
||||||
import com.qsoft.wmp.services.xsd.SalidaConsulta;
|
import com.qsoft.wmp.services.xsd.SalidaConsulta;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -82,8 +83,9 @@ public class ConsultaResource {
|
||||||
// this.auditoria.AddAuditoria(dto);
|
// this.auditoria.AddAuditoria(dto);
|
||||||
try {
|
try {
|
||||||
List resultado = null;
|
List resultado = null;
|
||||||
|
BodyEntradaConsulta body = entrada.getBodyIn();
|
||||||
resultado = consulta.consultaGenerica(entrada.getHeaderIn(), entrada.getBodyIn().getEntidad(),
|
resultado = consulta.consultaGenerica(entrada.getHeaderIn(), entrada.getBodyIn().getEntidad(),
|
||||||
entrada.getBodyIn().getParametros(), entrada.getBodyIn().getMaximoRegistros(), entrada.getBodyIn().getTipoConsulta());
|
body.getParametros(), body.getMaximoRegistros(), body.getRegistroInicio(), body.getTipoConsulta());
|
||||||
|
|
||||||
HeaderMS header = entrada.getHeaderIn();
|
HeaderMS header = entrada.getHeaderIn();
|
||||||
header.setFechaHora(DominioConstantes.getDateTime());
|
header.setFechaHora(DominioConstantes.getDateTime());
|
||||||
|
|
|
||||||
|
|
@ -4,141 +4,25 @@
|
||||||
"canal": null,
|
"canal": null,
|
||||||
"medio": null,
|
"medio": null,
|
||||||
"aplicacion": "WeMedicalProV1.0",
|
"aplicacion": "WeMedicalProV1.0",
|
||||||
"tipoTransaccion": "0101113",
|
"tipoTransaccion": "0101110",
|
||||||
"usuario": "james",
|
"usuario": "1715060073",
|
||||||
"uuid": "08dd2f23c2503122ac3e915c1352eb694596528eb8996878886188373eff0a90",
|
"uuid": "483983e305e3a278255bc5e95942ee35d48b9b2c58fea756d3d234f3695ce198",
|
||||||
"fechaHora": null,
|
"fechaHora": null,
|
||||||
"idioma": null,
|
"idioma": null,
|
||||||
"empresa": null,
|
"empresa": null,
|
||||||
"geolocalizacion": null
|
"geolocalizacion": null
|
||||||
},
|
},
|
||||||
"bodyIn": {
|
"bodyIn": {
|
||||||
"tipoAccion": 2,
|
"tipoConsulta": 1,
|
||||||
"entidad": "Persona",
|
"entidad": "Liquidacion",
|
||||||
"entidades": [{
|
"parametros": {
|
||||||
"perCodigo": 2,
|
"Liquidacion": {
|
||||||
"detTipoIdentificacion": 3,
|
"liqCodigo": "235",
|
||||||
"perIdentificacion": "1715060073",
|
"estados": [{
|
||||||
"perApellidos": "Ruales",
|
"usuCodigo": 1
|
||||||
"perNombres": "Jaime",
|
}]
|
||||||
"perFechaNacimiento": "10/07/1980",
|
|
||||||
"perDireccion": "TEST JAMES",
|
|
||||||
"perNacionalidad": "Ecuatorianao",
|
|
||||||
"perMail": "test_updated@qsoftec.com",
|
|
||||||
"detGenero": 17204,
|
|
||||||
"locCodigo": "170150",
|
|
||||||
"telefono": [
|
|
||||||
{
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "099666777",
|
|
||||||
"telObservacion": "Cambio Observacion James",
|
|
||||||
"telEstado": 1,
|
|
||||||
"telCodigo": 3490
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "023102108",
|
|
||||||
"telObservacion": "Cambio estado y observacion",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3491
|
|
||||||
}, {
|
|
||||||
"detTipo": 23586,
|
|
||||||
"telNumero": "091234567",
|
|
||||||
"telObservacion": "Este es nuevo",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3495
|
|
||||||
}, {
|
|
||||||
"detTipo": 23584,
|
|
||||||
"telNumero": "33332342",
|
|
||||||
"telObservacion": "colonavilus",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3496
|
|
||||||
}, {
|
|
||||||
"detTipo": 23584,
|
|
||||||
"telNumero": "990000002",
|
|
||||||
"telObservacion": "aglegal",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3497
|
|
||||||
}, {
|
|
||||||
"detTipo": 23584,
|
|
||||||
"telNumero": "9299",
|
|
||||||
"telObservacion": "",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3498
|
|
||||||
}, {
|
|
||||||
"detTipo": 23584,
|
|
||||||
"telNumero": "099666777",
|
|
||||||
"telObservacion": "no llame nunca please",
|
|
||||||
"telEstado": 1,
|
|
||||||
"telCodigo": 3499
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "7381781278",
|
|
||||||
"telObservacion": "tirate un paso",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3500
|
|
||||||
}, {
|
|
||||||
"detTipo": 23585,
|
|
||||||
"telNumero": "0999999",
|
|
||||||
"telObservacion": "enikma build",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3501
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "02222911",
|
|
||||||
"telObservacion": "casa",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3503
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "02222",
|
|
||||||
"telObservacion": "SSS",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3504
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "123123",
|
|
||||||
"telObservacion": "ssaa",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3506
|
|
||||||
}, {
|
|
||||||
"detTipo": 17208,
|
|
||||||
"telNumero": "02020239911",
|
|
||||||
"telObservacion": "hola",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3507
|
|
||||||
}, {
|
|
||||||
"detTipo": 23584,
|
|
||||||
"telNumero": "4546554",
|
|
||||||
"telObservacion": "ytyutyut",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3510
|
|
||||||
}, {
|
|
||||||
"detTipo": 23586,
|
|
||||||
"telNumero": "1111",
|
|
||||||
"telObservacion": "",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3544
|
|
||||||
}, {
|
|
||||||
"detTipo": 23586,
|
|
||||||
"telNumero": "0992233213",
|
|
||||||
"telObservacion": "",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3572
|
|
||||||
}, {
|
|
||||||
"detTipo": 23586,
|
|
||||||
"telNumero": "11111",
|
|
||||||
"telObservacion": "telefono jaimito",
|
|
||||||
"telEstado": 1,
|
|
||||||
"telCodigo": 3573
|
|
||||||
}, {
|
|
||||||
"detTipo": 23585,
|
|
||||||
"telNumero": "12311",
|
|
||||||
"telObservacion": "3aaa",
|
|
||||||
"telEstado": 0,
|
|
||||||
"telCodigo": 3574
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue