|
|
|
@@ -16,6 +16,7 @@ import com.iformall.service.*; |
|
|
|
import com.iformall.utils.Constant; |
|
|
|
import org.apache.commons.collections.CollectionUtils; |
|
|
|
import org.apache.commons.collections.map.HashedMap; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.flowable.bpmn.model.BpmnModel; |
|
|
|
import org.flowable.engine.*; |
|
|
|
import org.flowable.engine.runtime.Execution; |
|
|
|
@@ -207,11 +208,15 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
//不是最后一个节点,设置下一个待审批节点代办人 |
|
|
|
if(i != taskAssigneeList.size()-1){ |
|
|
|
assignee = taskAssigneeList.get(i+1); |
|
|
|
// 下一个节点没设置代办人 |
|
|
|
if(StringUtils.isBlank(assignee.get("assignee"))){ |
|
|
|
continue; |
|
|
|
} |
|
|
|
assigneeArray = assignee.get("assignee").split(","); |
|
|
|
userName = ""; |
|
|
|
for (String userid:assigneeArray) { |
|
|
|
MallUserInfo mallUserInfo = this.mallUserInfoService.getById(Long.parseLong(userid)); |
|
|
|
userName += mallUserInfo.getName()+" "; |
|
|
|
userName += mallUserInfo.getName()+" "; |
|
|
|
} |
|
|
|
|
|
|
|
wxFlowRecord = new WxFlowRecord(); |
|
|
|
|