...
This commit is contained in:
parent
1af6d798ed
commit
2f933627ff
|
@ -141,7 +141,7 @@ public class ActivitiNoticeAspect {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
}else if(kv.containsKey("tAbilityApplicationDTOList")){
|
} else if (kv.containsKey("tAbilityApplicationDTOList")) {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
|
@ -236,7 +236,7 @@ public class ActivitiNoticeAspect {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
}else if(kv.containsKey("tAbilityApplicationDTOList")){
|
} else if (kv.containsKey("tAbilityApplicationDTOList")) {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
|
@ -280,7 +280,7 @@ public class ActivitiNoticeAspect {
|
||||||
String finalResult = result;
|
String finalResult = result;
|
||||||
CompletableFuture.runAsync(() -> { // 发起人
|
CompletableFuture.runAsync(() -> { // 发起人
|
||||||
SysUserDTO userDTO = sysUserService.get(Long.valueOf(finalCreator));
|
SysUserDTO userDTO = sysUserService.get(Long.valueOf(finalCreator));
|
||||||
String content = "【通知】" + userDTO.getRealName() + ",您发起的"+resourceName + activitiNoticeOperation.process() + "已完成,审核结果为:" + finalResult;
|
String content = "【通知】" + userDTO.getRealName() + ",您发起的" + resourceName + activitiNoticeOperation.process() + "已完成,审核结果为:" + finalResult;
|
||||||
SysNoticeDTO dto = new SysNoticeDTO();
|
SysNoticeDTO dto = new SysNoticeDTO();
|
||||||
dto.setType(2);
|
dto.setType(2);
|
||||||
dto.setTitle("流程结束系统通知");
|
dto.setTitle("流程结束系统通知");
|
||||||
|
@ -360,7 +360,7 @@ public class ActivitiNoticeAspect {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
resourceName.append(((Map) kv.get("resourceDTO")).get("name"));
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
}else if(kv.containsKey("tAbilityApplicationDTOList")){
|
} else if (kv.containsKey("tAbilityApplicationDTOList")) {
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
resourceName.append(((List<TAbilityApplicationDTO>) kv.get("tAbilityApplicationDTOList")).get(0).getTitle());
|
||||||
resourceName.append("'");
|
resourceName.append("'");
|
||||||
|
@ -388,7 +388,7 @@ public class ActivitiNoticeAspect {
|
||||||
try {
|
try {
|
||||||
SysUserDTO assignee = sysUserService.get(Long.valueOf(delegateTask.getAssignee()));
|
SysUserDTO assignee = sysUserService.get(Long.valueOf(delegateTask.getAssignee()));
|
||||||
LOGGER.error("审核人:{}", assignee.getId());
|
LOGGER.error("审核人:{}", assignee.getId());
|
||||||
String content = "【通知】您发起的流程 " +resourceName+ activitiNoticeOperation.process() + " 当前审核节点为:" + activitiNoticeOperation.value() + ";当前审核部门为:\"" + assignee.getDeptName() + "\";审核负责人\"" + assignee.getRealName() + "\"";
|
String content = "【通知】您发起的流程 " + resourceName + activitiNoticeOperation.process() + " 当前审核节点为:" + activitiNoticeOperation.value() + ";当前审核部门为:\"" + assignee.getDeptName() + "\";审核负责人\"" + assignee.getRealName() + "\"";
|
||||||
LOGGER.info("通知内容:{}", content);
|
LOGGER.info("通知内容:{}", content);
|
||||||
SysNoticeDTO dto = new SysNoticeDTO();
|
SysNoticeDTO dto = new SysNoticeDTO();
|
||||||
dto.setType(2);
|
dto.setType(2);
|
||||||
|
@ -409,7 +409,7 @@ public class ActivitiNoticeAspect {
|
||||||
}, EXECUTOR).thenRunAsync(() -> { // 审批者
|
}, EXECUTOR).thenRunAsync(() -> { // 审批者
|
||||||
try {
|
try {
|
||||||
SysUserDTO owner = sysUserService.get(Long.valueOf(finalCreator));
|
SysUserDTO owner = sysUserService.get(Long.valueOf(finalCreator));
|
||||||
String content = "【通知】" + owner.getRealName() + "发起的流程"+resourceName + activitiNoticeOperation.process() + " 已进入审核节点:" + activitiNoticeOperation.value() + ";当前审核人指派为您";
|
String content = "【通知】" + owner.getRealName() + "发起的流程" + resourceName + activitiNoticeOperation.process() + " 已进入审核节点:" + activitiNoticeOperation.value() + ";当前审核人指派为您";
|
||||||
SysNoticeDTO dto = new SysNoticeDTO();
|
SysNoticeDTO dto = new SysNoticeDTO();
|
||||||
dto.setType(2);
|
dto.setType(2);
|
||||||
dto.setTitle("流程流转系统通知");
|
dto.setTitle("流程流转系统通知");
|
||||||
|
|
Loading…
Reference in New Issue