需求审批通过

This commit is contained in:
wangliwen 2022-05-18 17:19:14 +08:00
parent a68dd97428
commit c2d82d8ddc
1 changed files with 6 additions and 0 deletions

View File

@ -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<>();