大王椰快速调整流程提醒走角色开发
This commit is contained in:
parent
ee481d8d6f
commit
47fe053323
|
|
@ -1,6 +1,7 @@
|
|||
package com.engine.organization.service.impl;
|
||||
|
||||
|
||||
import com.engine.common.service.impl.HrmCommonServiceImpl;
|
||||
import com.engine.core.impl.Service;
|
||||
import com.engine.organization.entity.chart.params.QuickChangeMessageParam;
|
||||
import com.engine.organization.entity.commom.CusWorkflowRequestInfo;
|
||||
|
|
@ -17,6 +18,11 @@ import weaver.workflow.webservices.WorkflowMainTableInfo;
|
|||
import weaver.workflow.webservices.WorkflowRequestTableField;
|
||||
import weaver.workflow.webservices.WorkflowRequestTableRecord;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
||||
/**
|
||||
* @Author liang.cheng
|
||||
|
|
@ -35,8 +41,17 @@ public class RemindMessageServiceImpl extends Service implements RemindMessageSe
|
|||
workflowBaseInfo.setWorkflowId(param.getWorkflowId());
|
||||
|
||||
WorkflowMainTableInfo workflowMainTableInfo = new WorkflowMainTableInfo();
|
||||
String personId = bb.getPropValue("hrmOrganization", "personId");
|
||||
WorkflowRequestTableField mutiresource = OrganizationCommonUtil.createWorkflowRequestTableField("mutiresource", personId, true);
|
||||
//String personId = bb.getPropValue("hrmOrganization", "personId");
|
||||
String roleId = bb.getPropValue("hrmOrganization", "roleId");
|
||||
|
||||
HrmCommonServiceImpl hrmCommonService = new HrmCommonServiceImpl();
|
||||
|
||||
List<Object> roleMembers = hrmCommonService.getRoleMembers(roleId, "", null);
|
||||
String result = roleMembers.stream()
|
||||
.map(Object::toString)
|
||||
.collect(Collectors.joining(","));
|
||||
|
||||
WorkflowRequestTableField mutiresource = OrganizationCommonUtil.createWorkflowRequestTableField("mutiresource", result, true);
|
||||
RemindContentInfo remindContentInfo = remindContent(param);
|
||||
WorkflowRequestTableField remark = OrganizationCommonUtil.createWorkflowRequestTableField("remark", remindContentInfo.getContent(), true);
|
||||
WorkflowRequestTableField[] workflowRequestTableField = {mutiresource,remark};
|
||||
|
|
|
|||
Loading…
Reference in New Issue