|
@@ -43,10 +43,9 @@ public class MessageService {
|
|
String businessKey = instance.getBusinessKey();
|
|
String businessKey = instance.getBusinessKey();
|
|
|
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
Map<String, Object> param = new HashMap<>();
|
|
- param.put("id", UUID.randomUUID().toString().replaceAll("-", ""));
|
|
|
|
param.put("companyId", companyId);
|
|
param.put("companyId", companyId);
|
|
param.put("tableId", businessKey);
|
|
param.put("tableId", businessKey);
|
|
-
|
|
|
|
|
|
+ param.put("openType", "01");
|
|
// 融资审批
|
|
// 融资审批
|
|
if ("1000000006".equals(menuId)) {
|
|
if ("1000000006".equals(menuId)) {
|
|
param.put("workType", "03");
|
|
param.put("workType", "03");
|
|
@@ -59,14 +58,17 @@ public class MessageService {
|
|
param.put("workType", "00");
|
|
param.put("workType", "00");
|
|
param.put("title", "【内部审批】融信【"+paras.get("zfiNumber")+"】资料待审批,审批发起人【"+userInf.get("nickName")+"】");
|
|
param.put("title", "【内部审批】融信【"+paras.get("zfiNumber")+"】资料待审批,审批发起人【"+userInf.get("nickName")+"】");
|
|
}
|
|
}
|
|
- messageMapper.insertMessage(param);
|
|
|
|
|
|
+
|
|
|
|
|
|
try {
|
|
try {
|
|
List<Task> taskList = this.taskService.createTaskQuery().processInstanceId(instance.getId()).list();
|
|
List<Task> taskList = this.taskService.createTaskQuery().processInstanceId(instance.getId()).list();
|
|
for (Task task : taskList) {
|
|
for (Task task : taskList) {
|
|
|
|
+ param.put("id", UUID.randomUUID().toString().replaceAll("-", ""));
|
|
|
|
+ param.put("openUrl", "/approval/deal?processId=" + instance.getProcessDefinitionId() + "&nodeId"+task.getTaskDefinitionKey() + "&taskId=" + task.getId() + "&instId="+task.getProcessInstanceId());
|
|
|
|
+ messageMapper.insertMessage(param);
|
|
|
|
+
|
|
Map<String, String> messageData = new HashMap<>();
|
|
Map<String, String> messageData = new HashMap<>();
|
|
messageData.put("id", UUID.randomUUID().toString().replaceAll("-", ""));
|
|
messageData.put("id", UUID.randomUUID().toString().replaceAll("-", ""));
|
|
-
|
|
|
|
List<Long> userIdList = new ArrayList<>();
|
|
List<Long> userIdList = new ArrayList<>();
|
|
// 审批人
|
|
// 审批人
|
|
String assignee = task.getAssignee();
|
|
String assignee = task.getAssignee();
|