需求审批通过
This commit is contained in:
parent
a68dd97428
commit
c2d82d8ddc
|
@ -185,6 +185,12 @@ public class DemandDataListener implements TaskListener, ExecutionListener, Acti
|
||||||
demandDataDTO.setApprovalUserName(userDTO != null ? userDTO.getRealName() : null);
|
demandDataDTO.setApprovalUserName(userDTO != null ? userDTO.getRealName() : null);
|
||||||
demandDataDTO.setApprovalOpinions(taskService.getTaskComments(delegateTask.getId()).stream().findFirst().get().getFullMessage());
|
demandDataDTO.setApprovalOpinions(taskService.getTaskComments(delegateTask.getId()).stream().findFirst().get().getFullMessage());
|
||||||
logger.error("---------------------------更新状态为已拒绝---------------------------------");
|
logger.error("---------------------------更新状态为已拒绝---------------------------------");
|
||||||
|
} else {
|
||||||
|
demandDataDTO.setFlag(TDemandDataEntityFlag.APPROVE.getFlag());
|
||||||
|
demandDataDTO.setApprovalUserDeptName(userDTO != null ? userDTO.getDeptName() : null);
|
||||||
|
demandDataDTO.setApprovalUserName(userDTO != null ? userDTO.getRealName() : null);
|
||||||
|
demandDataDTO.setApprovalOpinions(taskService.getTaskComments(delegateTask.getId()).stream().findFirst().get().getFullMessage());
|
||||||
|
logger.error("---------------------------更新状态为已通过---------------------------------");
|
||||||
}
|
}
|
||||||
logger.error("demandDataDTO:" + demandDataDTO);
|
logger.error("demandDataDTO:" + demandDataDTO);
|
||||||
Map<String, Object> combineResultMap = new HashMap<>();
|
Map<String, Object> combineResultMap = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue