CMM hace 1 año
padre
commit
d41f746f32
Se han modificado 2 ficheros con 13 adiciones y 3 borrados
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/ProcdefController.java
  2. +10
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/ProcdefController.java Ver fichero

@@ -1,7 +1,10 @@
package com.ningdatech.pmapi.sys.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.ningdatech.basic.model.PageVo;
import com.wflow.bean.dto.WflowModelHistorysDto;
import com.wflow.bean.vo.WflowFormVo;
import com.wflow.bean.vo.WflowModelVo;
import com.wflow.service.ModelGroupService;
import com.wflow.workflow.service.ProcessModelService;


+ 10
- 3
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java Ver fichero

@@ -555,9 +555,7 @@ public class TodoCenterManage {
Map<String, ProcessInstanceUserDto> userMap = userInfoService.getUserMapByIds(userSet);

// 装配节点审核人员信息
for (ProgressNode progressNode : progressInfo) {
progressNode.setUser(userMap.get(progressNode.getUserId()));
}
buildUser(progressInfo,userMap);

ProcessProgressDetailVo res = new ProcessProgressDetailVo();
res.setProcessProgressVo(progressInstanceDetail);
@@ -565,6 +563,15 @@ public class TodoCenterManage {
return res;
}

private void buildUser(List<ProgressNode> progressInfo,Map<String, ProcessInstanceUserDto> userMap) {
for (ProgressNode progressNode : progressInfo) {
progressNode.setUser(userMap.get(progressNode.getUserId()));
if(CollUtil.isNotEmpty(progressNode.getChildren())){
buildUser(progressNode.getChildren(),userMap);
}
}
}

/**
* 待办中心我已处理项目列表查询
*


Cargando…
Cancelar
Guardar