correccion Jaime bpm
This commit is contained in:
parent
2c73b20eb6
commit
cbf83f186e
|
|
@ -45,6 +45,19 @@ import com.fp.persistence.commondb.PersistenceHelper;
|
|||
import com.fp.persistence.commondb.PersistenceManager;
|
||||
import com.fp.persistence.pbpm.gene.TbpmGroupsUsers;
|
||||
import com.fp.simple.dto.TaskInfo;
|
||||
import java.math.BigDecimal;
|
||||
import java.text.DateFormat;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import org.jbpm.services.task.impl.model.DeadlinesImpl;
|
||||
import org.jbpm.services.task.impl.model.DelegationImpl;
|
||||
import org.jbpm.services.task.impl.model.PeopleAssignmentsImpl;
|
||||
import org.jbpm.services.task.impl.model.TaskDataImpl;
|
||||
import org.jbpm.services.task.impl.model.TaskImpl;
|
||||
import org.kie.internal.task.api.model.AccessType;
|
||||
import org.kie.internal.task.api.model.AllowedToDelegate;
|
||||
import org.kie.internal.task.api.model.SubTasksStrategy;
|
||||
|
||||
//
|
||||
/**
|
||||
|
|
@ -55,7 +68,9 @@ import com.fp.simple.dto.TaskInfo;
|
|||
*/
|
||||
public class HumanTaskClient {
|
||||
|
||||
/** El valor de language. */
|
||||
/**
|
||||
* El valor de language.
|
||||
*/
|
||||
private String language = "en-UK";
|
||||
|
||||
private final TaskService taskService;
|
||||
|
|
@ -167,7 +182,6 @@ public class HumanTaskClient {
|
|||
ti.setResponse(pResultado);
|
||||
ti.setTaskId(pTask);
|
||||
ti.setJournalId(pJournalId);
|
||||
System.out.println(pObs);
|
||||
if (ti.getUserId() == null && t.getTaskData().getActualOwner() != null) {
|
||||
ti.setUserId(t.getTaskData().getActualOwner().getId());
|
||||
}
|
||||
|
|
@ -423,13 +437,10 @@ public class HumanTaskClient {
|
|||
List<TaskSummary> list;
|
||||
try {
|
||||
list = taskService.getTasksOwnedByStatus(pUserCri, lestatus, "en-UK");
|
||||
Object o[] = null;
|
||||
Task task = null;
|
||||
Content c = null;
|
||||
for (TaskSummary obj : list) {
|
||||
o = new Object[2];
|
||||
task = this.getTaskById(obj.getId());
|
||||
c = this.getContentById(task.getTaskData().getDocumentContentId());
|
||||
Object o[] = new Object[2];
|
||||
Task task = this.getTaskById(obj.getId());
|
||||
Content c = this.getContentById(task.getTaskData().getDocumentContentId());
|
||||
o[0] = task;
|
||||
o[1] = c;
|
||||
lresp.add(o);
|
||||
|
|
@ -453,16 +464,13 @@ public class HumanTaskClient {
|
|||
List<Object[]> lresp = new ArrayList<>();
|
||||
lestatus.add(Status.Reserved);
|
||||
lestatus.add(Status.InProgress);
|
||||
List<TaskSummary> list = new ArrayList<>();
|
||||
List<TaskSummary> list = taskService.getTasksOwnedByStatus(pUserId, lestatus, "en-UK");
|
||||
try {
|
||||
list = taskService.getTasksOwnedByStatus(pUserId, lestatus, "en-UK");
|
||||
Object o[];
|
||||
Task task;
|
||||
Content c;
|
||||
for (TaskSummary obj : list) {
|
||||
o = new Object[2];
|
||||
task = this.getTaskById(obj.getId());
|
||||
c = this.getContentById(task.getTaskData().getDocumentContentId());
|
||||
Object o[] = new Object[2];
|
||||
Task task = this.getTaskById(obj.getId());
|
||||
Content c = this.getContentById(task.getTaskData().getDocumentContentId());
|
||||
o[0] = task;
|
||||
o[1] = c;
|
||||
lresp.add(o);
|
||||
|
|
@ -474,50 +482,21 @@ public class HumanTaskClient {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* QUERY NATIVO DE TAREAS NO COMPLETADAS
|
||||
*/
|
||||
private static final String TAREAS_GRUPO_NATIVO = "select\n" +
|
||||
" taskimpl0_,\n"+
|
||||
" organizati1_.id\n" +
|
||||
" from\n" +
|
||||
" jbpm6.Task taskimpl0_ cross \n" +
|
||||
" join\n" +
|
||||
" jbpm6.OrganizationalEntity organizati1_ \n" +
|
||||
" where\n" +
|
||||
" (\n" +
|
||||
" organizati1_.id in (\n" +
|
||||
" :groupIds\n" +
|
||||
" )\n" +
|
||||
" ) \n" +
|
||||
" and (\n" +
|
||||
" organizati1_.id in (\n" +
|
||||
" select\n" +
|
||||
" potentialo2_.entity_id \n" +
|
||||
" from\n" +
|
||||
" jbpm6.PeopleAssignments_PotOwners potentialo2_ \n" +
|
||||
" where\n" +
|
||||
" taskimpl0_.id=potentialo2_.task_id\n" +
|
||||
" )\n" +
|
||||
" ) \n" +
|
||||
" and taskimpl0_.archived=0 \n" +
|
||||
" and (\n" +
|
||||
" taskimpl0_.actualOwner_id is null\n" +
|
||||
" ) \n" +
|
||||
" and (\n" +
|
||||
" taskimpl0_.status in (\n" +
|
||||
" 'Created' , 'Ready' , 'Reserved' , 'InProgress' , 'Suspended'\n" +
|
||||
" )\n" +
|
||||
" )";
|
||||
|
||||
|
||||
/**
|
||||
* JPQL JPQL_TASK_NOT_COMPLETEBYGROUP
|
||||
*/
|
||||
private static final String TAREAS_GRUPO = "select t, potentialOwners.id from TaskImpl t, OrganizationalEntityImpl potentialOwners "
|
||||
+ "where potentialOwners.id = :groupIds and potentialOwners in elements ( t.peopleAssignments.potentialOwners) and t.archived = 0 "
|
||||
+ "and t.taskData.actualOwner = null and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') "
|
||||
+ "order by t.id desc";
|
||||
// private static final String TAREAS_GRUPO = "select t, potentialOwners.id from TaskImpl t, OrganizationalEntityImpl potentialOwners "
|
||||
// + "where potentialOwners.id in (:groupIds) and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and t.archived = 0 "
|
||||
// + "and t.taskData.actualOwner = null and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended')";
|
||||
private static final String TAREAS_GRUPO = "SELECT t.id as taskId, t.archived , t.allowedtodelegate , t.description , t.formname , t.NAME , t.taskinitiator_id , "
|
||||
+ "t.priority , t.subtaskstrategy , t.subject , t.activationtime , t.actualowner_id , t.createdby_id , t.createdon , t.deploymentid , "
|
||||
+ "t.documentaccesstype , t.documentcontentid , t.documenttype , t.expirationtime , t.faultaccesstype , t.faultcontentid , t.faultname , "
|
||||
+ "t.faulttype , t.outputaccesstype , t.outputcontentid , t.outputtype , t.parentid , t.previousstatus , t.processid , t.processinstanceid , "
|
||||
+ "t.processsessionid , t.skipable , t.status , t.workitemid , t.tasktype , t.optlock , o.id as orgId "
|
||||
+ "FROM jbpm6.task t "
|
||||
+ "CROSS JOIN jbpm6.organizationalentity o "
|
||||
+ "INNER JOIN jbpm6.peopleassignments_potowners po ON po.task_id = t.id AND po.entity_id = o.id "
|
||||
+ "WHERE(o.id IN (:groupIds)) AND t.archived = 0 AND (t.actualowner_id IS NULL) AND (t.status IN ( 'Created', 'Ready', 'Reserved', 'InProgress','Suspended')) order by t.id";
|
||||
|
||||
/**
|
||||
* Obtiene el valor de unfinished tasks por Grupo.
|
||||
|
|
@ -530,15 +509,22 @@ public class HumanTaskClient {
|
|||
@SuppressWarnings(Constant.WARN_UNCHECKED)
|
||||
public List<Object[]> getTasksByGroup(String pGroupId, String pCri) throws Exception {
|
||||
List<Object[]> ldatos = new ArrayList<Object[]>();
|
||||
TaskImpl t;
|
||||
TaskDataImpl td;
|
||||
|
||||
EntityManager em = null;
|
||||
try {
|
||||
em = PersistenceManager.getInstance().getEntityManagerFactoryAuxiliar("org.jbpm.domain").createEntityManager();
|
||||
Query qry = em.createQuery(HumanTaskClient.TAREAS_GRUPO);
|
||||
//Query qry = em.createNativeQuery(TAREAS_GRUPO_NATIVO);
|
||||
// Query qry = em.createQuery(HumanTaskClient.TAREAS_GRUPO);
|
||||
Query qry = em.createNativeQuery(HumanTaskClient.TAREAS_GRUPO);
|
||||
qry.setParameter("groupIds", pGroupId);
|
||||
ldatos = qry.getResultList();
|
||||
List<Fila> data = ejecutarConsultaNativaList(qry);
|
||||
|
||||
for (Fila row : data) {
|
||||
ldatos.add(new Object[]{mapTask(row), row.get(36)});
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
e.printStackTrace(System.err);
|
||||
} finally {
|
||||
if (em.isOpen()) {
|
||||
em.close();
|
||||
|
|
@ -547,6 +533,180 @@ public class HumanTaskClient {
|
|||
return ldatos;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param query
|
||||
* @param consulta
|
||||
* @return
|
||||
*/
|
||||
public List<Fila> ejecutarConsultaNativaList(Query query) {
|
||||
List<Fila> resultado = new ArrayList<>();
|
||||
List datos = query.getResultList();
|
||||
if (datos == null || datos.isEmpty()) {
|
||||
return resultado;
|
||||
}
|
||||
|
||||
for (Object row : datos) {
|
||||
Fila fila = new Fila();
|
||||
if (row.getClass().isArray()) {
|
||||
Object[] orow = (Object[]) row;
|
||||
for (Object val : orow) {
|
||||
fila.add(val);
|
||||
}
|
||||
} else {
|
||||
fila.add(row);
|
||||
}
|
||||
resultado.add(fila);
|
||||
}
|
||||
return resultado;
|
||||
}
|
||||
|
||||
public TaskImpl mapTask(Fila row) {
|
||||
TaskImpl ti = new TaskImpl();
|
||||
PeopleAssignmentsImpl pa = new PeopleAssignmentsImpl();
|
||||
DelegationImpl di = new DelegationImpl();
|
||||
TaskDataImpl tdi = new TaskDataImpl();
|
||||
DeadlinesImpl dli = new DeadlinesImpl();
|
||||
ti.setId(evalLong(row.get(0)));
|
||||
ti.setArchived(evalInt(row.get(1)) == 1);
|
||||
di.setAllowed(evaluateATD(row.get(2)));
|
||||
ti.setDescription((String) row.get(3));
|
||||
ti.setFormName((String) row.get(4));
|
||||
ti.setName((String) row.get(5));
|
||||
pa.setTaskInitiator(new UserImpl((String) row.get(6)));
|
||||
ti.setPriority(evalInt(row.get(7)));
|
||||
ti.setSubTaskStrategy(evaluateSub(row.get(8)));
|
||||
ti.setSubject((String) row.get(9));
|
||||
tdi.setActivationTime(evaluateDate(row.get(10)));
|
||||
tdi.setActualOwner(new UserImpl((String) row.get(11)));
|
||||
tdi.setCreatedBy(new UserImpl((String) row.get(12)));
|
||||
tdi.setCreatedOn(evaluateDate(row.get(13)));
|
||||
tdi.setDeploymentId((String) row.get(14));
|
||||
tdi.setDocumentAccessType(evaluateAT(row.get(15)));
|
||||
tdi.setDocumentContentId(evalLong(row.get(16)));
|
||||
tdi.setDocumentType((String) row.get(17));
|
||||
tdi.setExpirationTime(evaluateDate(row.get(18)));
|
||||
tdi.setFaultAccessType(evaluateAT(row.get(19)));
|
||||
tdi.setFaultContentId(evalLong(row.get(20)));
|
||||
tdi.setFaultName((String) row.get(21));
|
||||
tdi.setFaultType((String) row.get(22));
|
||||
tdi.setOutputAccessType(evaluateAT(row.get(23)));
|
||||
tdi.setOutputContentId(evalLong(row.get(24)));
|
||||
tdi.setOutputType((String) row.get(25));
|
||||
tdi.setParentId(evalLong(row.get(26)));
|
||||
tdi.setPreviousStatus(evaluateStatus(row.get(27)));
|
||||
tdi.setProcessId((String) row.get(28));
|
||||
tdi.setProcessInstanceId(evalLong(row.get(29)));
|
||||
tdi.setProcessSessionId(evalInt(row.get(30)));
|
||||
tdi.setSkipable((Boolean)row.get(31));
|
||||
tdi.setStatus(evaluateStatus(row.get(32)));
|
||||
tdi.setWorkItemId(evalLong(row.get(33)));
|
||||
ti.setTaskType((String) row.get(34));
|
||||
|
||||
ti.setPeopleAssignments(pa);
|
||||
ti.setDelegation(di);
|
||||
ti.setTaskData(tdi);
|
||||
ti.setDeadlines(dli);
|
||||
return ti;
|
||||
}
|
||||
|
||||
public Integer evalInt(Object data) {
|
||||
Integer result = null;
|
||||
if (data != null) {
|
||||
result = ((BigDecimal) data).intValue();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public Long evalLong(Object data) {
|
||||
Long result = null;
|
||||
if (data != null) {
|
||||
result = ((BigDecimal) data).longValue();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static Status evaluateStatus(Object data) {
|
||||
Status at = null;
|
||||
if (data != null) {
|
||||
if (data instanceof Status) {
|
||||
at = (Status) data;
|
||||
} else {
|
||||
try {
|
||||
at = Status.valueOf(data.toString());
|
||||
} catch (RuntimeException ex) {
|
||||
at = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return at;
|
||||
}
|
||||
|
||||
public static AccessType evaluateAT(Object data) {
|
||||
AccessType at = null;
|
||||
if (data != null) {
|
||||
if (data instanceof AccessType) {
|
||||
at = (AccessType) data;
|
||||
} else {
|
||||
try {
|
||||
at = AccessType.valueOf(data.toString());
|
||||
} catch (RuntimeException ex) {
|
||||
at = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return at;
|
||||
}
|
||||
|
||||
public static SubTasksStrategy evaluateSub(Object data) {
|
||||
SubTasksStrategy st = null;
|
||||
if (data != null) {
|
||||
if (data instanceof SubTasksStrategy) {
|
||||
st = (SubTasksStrategy) data;
|
||||
} else {
|
||||
try {
|
||||
st = SubTasksStrategy.valueOf(data.toString());
|
||||
} catch (RuntimeException ex) {
|
||||
st = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return st;
|
||||
}
|
||||
|
||||
public static AllowedToDelegate evaluateATD(Object data) {
|
||||
AllowedToDelegate del = null;
|
||||
if (data != null) {
|
||||
if (data instanceof AllowedToDelegate) {
|
||||
del = (AllowedToDelegate) data;
|
||||
} else {
|
||||
try {
|
||||
del = AllowedToDelegate.valueOf(data.toString());
|
||||
} catch (RuntimeException ex) {
|
||||
del = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return del;
|
||||
}
|
||||
|
||||
public static Date evaluateDate(Object date) {
|
||||
DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
|
||||
Date fecha = null;
|
||||
if (date != null) {
|
||||
if (date instanceof Date) {
|
||||
fecha = (Date) date;
|
||||
} else {
|
||||
try {
|
||||
fecha = df.parse(date.toString());
|
||||
} catch (ParseException ex) {
|
||||
fecha = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return fecha;
|
||||
}
|
||||
|
||||
/**
|
||||
* Release task.
|
||||
*
|
||||
|
|
@ -592,9 +752,7 @@ public class HumanTaskClient {
|
|||
// Elimina el content anterior y remplaza por un nuevo content.
|
||||
// its.deleteContent(pTask, task.getTaskData().getDocumentContentId());
|
||||
// its.addContent(pTask, input);
|
||||
|
||||
// ***** LA FECHA DE CREACION E INICIO SE TOMA DE LA BAMTASKSUMMARY PARA PRESENTAR EN EL MONITOR.
|
||||
|
||||
taskService.start(pTask, task.getTaskData().getActualOwner().getId());
|
||||
FlowActivitySave.actualizarActividadStart(pTask);
|
||||
APPLogger.getLogger().debug("Started task " + pTask);
|
||||
|
|
@ -622,4 +780,8 @@ public class HumanTaskClient {
|
|||
taskService.suspend(pTask, pUserId);
|
||||
}
|
||||
|
||||
class Fila extends ArrayList<Object> {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:25 ECT 2023
|
||||
#Fri Feb 03 15:45:11 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.bpm
|
||||
artifactId=bpmlib
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:19 ECT 2023
|
||||
#Fri Feb 03 15:45:06 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.bpm
|
||||
artifactId=simple
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -40,7 +40,7 @@ public class CashManagementQuery extends QueryRule {
|
|||
+ "left join tarmtramite tra on tra.ctramite = sol.ctramite "
|
||||
+ "left join tgenecatalogdetail tipaut on tra.tipoautorizacion = tipaut.catalog and tra.tipoautorizacioncodigo = tipaut.catalogcode "
|
||||
+ "where soltra.INCASHREPORT is null and soltra.numerocomprobante is null and soltra.estadotramite='REG' and soltra.valorapagar>0 "
|
||||
+ "and sol.fverificarequisitos >= to_date(':fechaInicialStr','DD/MM/RRRR') and sol.fverificarequisitos <= to_date(':fechaFinalStr','DD/MM/RRRR')";
|
||||
+ "and sol.fverificarequisitos >= to_date(':fechaInicialStr','DD/MM/YYYY') and sol.fverificarequisitos <= to_date(':fechaFinalStr','DD/MM/YYYY')";
|
||||
|
||||
/**
|
||||
* Completa datos del arma
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:46 ECT 2023
|
||||
#Fri Feb 03 15:45:32 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=armas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:40 ECT 2023
|
||||
#Fri Feb 03 15:45:25 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=general
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:42 ECT 2023
|
||||
#Fri Feb 03 15:45:27 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=log
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:37 ECT 2023
|
||||
#Fri Feb 03 15:45:22 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=person
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:41 ECT 2023
|
||||
#Fri Feb 03 15:45:26 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=report
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:43 ECT 2023
|
||||
#Fri Feb 03 15:45:29 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.business
|
||||
artifactId=viaticos
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:34 ECT 2023
|
||||
#Fri Feb 03 15:45:19 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=alfresco-client
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:21 ECT 2023
|
||||
#Fri Feb 03 15:45:07 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=bpm
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:33 ECT 2023
|
||||
#Fri Feb 03 15:45:18 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.core
|
||||
artifactId=firmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:07 ECT 2023
|
||||
#Fri Feb 03 15:44:52 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.dto
|
||||
artifactId=common
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:04 ECT 2023
|
||||
#Fri Feb 03 15:44:50 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.dto
|
||||
artifactId=dto
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:48 ECT 2023
|
||||
#Fri Feb 03 15:45:33 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=facade
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:47 ECT 2023
|
||||
#Fri Feb 03 15:45:32 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=facadeclient
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:15 ECT 2023
|
||||
#Fri Feb 03 15:45:01 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=commondb
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:32 ECT 2023
|
||||
#Fri Feb 03 15:45:17 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=parmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:08 ECT 2023
|
||||
#Fri Feb 03 15:44:54 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pbpm
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:17 ECT 2023
|
||||
#Fri Feb 03 15:45:04 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pcustomer
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:29 ECT 2023
|
||||
#Fri Feb 03 15:45:14 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pfirmas
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:13 ECT 2023
|
||||
#Fri Feb 03 15:44:59 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pgeneral
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:26 ECT 2023
|
||||
#Fri Feb 03 15:45:12 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=plog
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:28 ECT 2023
|
||||
#Fri Feb 03 15:45:13 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=pviaticos
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:18 ECT 2023
|
||||
#Fri Feb 03 15:45:05 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base.persistence
|
||||
artifactId=util
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:35 ECT 2023
|
||||
#Fri Feb 03 15:45:20 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.base
|
||||
artifactId=sessionbeans
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:49 ECT 2023
|
||||
#Fri Feb 03 15:45:34 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.clients.maia
|
||||
artifactId=maiaear
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:10:48 ECT 2023
|
||||
#Fri Feb 03 15:45:33 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp.clients.maia
|
||||
artifactId=environment-eap6
|
||||
|
|
|
|||
|
|
@ -11,8 +11,11 @@ import com.fp.frontend.controller.pcustomer.PersonPhoneController;
|
|||
import com.fp.frontend.controller.pgeneral.gene.CatalogDetailController;
|
||||
import com.fp.frontend.controller.pgeneral.gene.CityController;
|
||||
import com.fp.firma.common.CertificateUtils;
|
||||
import com.fp.frontend.controller.armas.parametros.CashManagementHistoryController;
|
||||
|
||||
import com.fp.frontend.controller.pgeneral.gene.ParametersController;
|
||||
import com.fp.frontend.utility.Utilidades;
|
||||
import com.fp.persistence.parmas.fun.TarmCashManagementHistory;
|
||||
import com.fp.persistence.parmas.param.TarmCentroControl;
|
||||
import com.fp.persistence.parmas.soli.TarmSolicitud;
|
||||
import com.fp.persistence.parmas.soli.TarmSolicitudTramite;
|
||||
|
|
@ -23,6 +26,7 @@ import com.fp.persistence.pcustomer.gene.TcustPersonPhone;
|
|||
import com.fp.persistence.pgeneral.gene.TgeneCatalogDetail;
|
||||
import com.fp.persistence.pgeneral.gene.TgeneCity;
|
||||
import com.fp.persistence.pgeneral.gene.TgeneParameters;
|
||||
import com.fp.persistence.pgeneral.safe.TsafeUserDetail;
|
||||
import com.itextpdf.text.DocumentException;
|
||||
import com.itextpdf.text.Font;
|
||||
import com.itextpdf.text.Rectangle;
|
||||
|
|
@ -51,13 +55,16 @@ import java.security.KeyStoreException;
|
|||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.PrivateKey;
|
||||
import java.security.cert.CertificateException;
|
||||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Calendar;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Scanner;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JOptionPane;
|
||||
|
|
@ -284,6 +291,13 @@ public class testFactura {
|
|||
}
|
||||
|
||||
}
|
||||
/**
|
||||
* Arma la petición al core para solicitar un número de
|
||||
* secuencial para la solicitud antes de guardarla
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
|
||||
public static void main(String[] args) {
|
||||
//correrClase();
|
||||
Map<String,String> sexo = new HashMap();
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Thu Feb 02 15:11:04 ECT 2023
|
||||
#Fri Feb 03 15:45:48 ECT 2023
|
||||
version=2.1
|
||||
groupId=com.fp
|
||||
artifactId=frontend
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue