Alerta armas por solicitud, comentado advicesDialog

This commit is contained in:
cruales 2023-02-01 16:40:13 -05:00
parent 3fcf909bf5
commit c7839ac002
101 changed files with 43 additions and 38 deletions

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:16 ECT 2023
#Wed Feb 01 16:24:02 ECT 2023
version=2.1
groupId=com.fp.base.bpm
artifactId=bpmlib

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:11 ECT 2023
#Wed Feb 01 16:23:57 ECT 2023
version=2.1
groupId=com.fp.base.bpm
artifactId=simple

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:37 ECT 2023
#Wed Feb 01 16:24:22 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=armas

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:30 ECT 2023
#Wed Feb 01 16:24:16 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=general

Binary file not shown.

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:32 ECT 2023
#Wed Feb 01 16:24:18 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=log

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:28 ECT 2023
#Wed Feb 01 16:24:13 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=person

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:31 ECT 2023
#Wed Feb 01 16:24:17 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=report

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:34 ECT 2023
#Wed Feb 01 16:24:19 ECT 2023
version=2.1
groupId=com.fp.base.business
artifactId=viaticos

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:25 ECT 2023
#Wed Feb 01 16:24:10 ECT 2023
version=2.1
groupId=com.fp.base.core
artifactId=alfresco-client

Binary file not shown.

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:13 ECT 2023
#Wed Feb 01 16:23:58 ECT 2023
version=2.1
groupId=com.fp.base.core
artifactId=bpm

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:24 ECT 2023
#Wed Feb 01 16:24:09 ECT 2023
version=2.1
groupId=com.fp.base.core
artifactId=firmas

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:41:58 ECT 2023
#Wed Feb 01 16:23:44 ECT 2023
version=2.1
groupId=com.fp.base.dto
artifactId=common

Binary file not shown.

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:41:56 ECT 2023
#Wed Feb 01 16:23:42 ECT 2023
version=2.1
groupId=com.fp.base.dto
artifactId=dto

Binary file not shown.

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:39 ECT 2023
#Wed Feb 01 16:24:24 ECT 2023
version=2.1
groupId=com.fp.base
artifactId=facade

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:38 ECT 2023
#Wed Feb 01 16:24:23 ECT 2023
version=2.1
groupId=com.fp.base
artifactId=facadeclient

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:07 ECT 2023
#Wed Feb 01 16:23:53 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=commondb

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:22 ECT 2023
#Wed Feb 01 16:24:08 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=parmas

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:00 ECT 2023
#Wed Feb 01 16:23:46 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=pbpm

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:09 ECT 2023
#Wed Feb 01 16:23:55 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=pcustomer

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:20 ECT 2023
#Wed Feb 01 16:24:05 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=pfirmas

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:05 ECT 2023
#Wed Feb 01 16:23:51 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=pgeneral

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:17 ECT 2023
#Wed Feb 01 16:24:03 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=plog

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:19 ECT 2023
#Wed Feb 01 16:24:05 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=pviaticos

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:10 ECT 2023
#Wed Feb 01 16:23:56 ECT 2023
version=2.1
groupId=com.fp.base.persistence
artifactId=util

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:26 ECT 2023
#Wed Feb 01 16:24:12 ECT 2023
version=2.1
groupId=com.fp.base
artifactId=sessionbeans

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:39 ECT 2023
#Wed Feb 01 16:24:24 ECT 2023
version=2.1
groupId=com.fp.clients.maia
artifactId=maiaear

View File

@ -1,5 +1,5 @@
#Generated by Maven
#Wed Feb 01 10:42:39 ECT 2023
#Wed Feb 01 16:24:24 ECT 2023
version=2.1
groupId=com.fp.clients.maia
artifactId=environment-eap6

View File

@ -1542,7 +1542,7 @@ private String descategoria;
ArmasController cc = new ArmasController();
cc.init();
cc.recperpage = 1000;
cc.addFilter("carma", carma);
cc.addFilter("pk", carma);
cc.querydatabaseFechaMax();
if ((cc.lrecord != null) && !cc.lrecord.isEmpty()) {
return cc.lrecord;
@ -2356,8 +2356,8 @@ private String descategoria;
numeroDocumento = personaDetailSelecionada.getIdentification();
filtroPersona = " and t.cregistro in (select i.pk from TarmRegistroArmas i where i.personcode ="
+ personaDetailSelecionada.getPk().getPersoncode() + ")";
querydatabase();
obtenerArmas(personaDetailSelecionada);
querydatabase();
}
@ -2425,7 +2425,7 @@ private String descategoria;
tramite = TarmTramiteController.findSimple(tarmSolicitud.getCtramite().toString());
if(tramite.getNumeromaxarmas() != null){
numMaxArmas = tramite.getNumeromaxarmas().intValue();
lstSolicitudArmas = TarmSolicitudArmasController.findPorCSolicitud(longitud);
lstSolicitudArmas = TarmSolicitudArmasController.findPorCSolicitud(tarmSolicitud.getPk());
if(lstSolicitudArmas!= null && !lstSolicitudArmas.isEmpty()){
for (TarmSolicitudArmas solicitudArma : lstSolicitudArmas) {
lArmasSolicitud = ArmasController.findxCarma(solicitudArma.getPk().getCarma());

View File

@ -438,12 +438,17 @@ public class CargarDepositoController extends AbstractController<TarmSolicitudTr
* Metodo para validar el comprobante de deposito/
*/
public void validarComprobanteDeposito() {
List<TarmSolicitudTramite> usandoComprobanteList = SolicitudTramiteController.findByNumeroComprobante(this.record.getNumerocomprobante().trim());
if (usandoComprobanteList != null && usandoComprobanteList.size() > 0) {
isTrueNComprobante = Boolean.FALSE;
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_comprobanteDepositoUsado"));
} else {
isTrueNComprobante = Boolean.TRUE;
this.record.setNumerocomprobante(this.record.getNumerocomprobante().replaceAll(" ", ""));
String []data = this.record.getNumerocomprobante().split("-");
for(String s: data){
List<TarmSolicitudTramite> usandoComprobanteList = SolicitudTramiteController.findByNumeroComprobante(s);
if (usandoComprobanteList != null && usandoComprobanteList.size() > 0) {
isTrueNComprobante = Boolean.FALSE;
MessageHelper.setMessageError(MsgControlArmas.getProperty("msg_error_comprobanteDepositoUsado"));
break;
} else {
isTrueNComprobante = Boolean.TRUE;
}
}
}

View File

@ -341,7 +341,7 @@ public class LoginController {
MessageHelper.setMessageInfo(String.format("Documento %s, perteneciente a %s expira el %s.",doc.getNumerodocumento(), personaPermiso.getName(), doc.getFechaexpiracion()));
}
RequestContext.getCurrentInstance().execute("PF('advicesDialog').show()");
//RequestContext.getCurrentInstance().execute("PF('advicesDialog').show()");
}
}
}

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More