|
|
|
@ -204,8 +204,9 @@ public class DgEfficiencyServiceImpl extends ServiceImpl<DgEfficiencyMapper, DgA |
|
|
|
|
// 计算当前部门在当前节点的累计时间
|
|
|
|
|
String existTime = existMap.get(processId).substring(0, existMap.get(processId).indexOf(",")); |
|
|
|
|
|
|
|
|
|
int sumTime = Integer.parseInt(existTime) + Integer.parseInt(time); |
|
|
|
|
timeSumByDepId.put(Integer.parseInt(departmentId),sumTime); |
|
|
|
|
//int sumTime = Integer.parseInt(existTime) + Integer.parseInt(time);
|
|
|
|
|
//timeSumByDepId 这个map只用于记录遍历部门多少次数
|
|
|
|
|
timeSumByDepId.put(Integer.parseInt(departmentId),time); |
|
|
|
|
if(timeSumByDepId.size()>1){ |
|
|
|
|
// 累计时间加上本次时间
|
|
|
|
|
existMap.put(processId, (Integer.parseInt(time)) + "," + count); |
|
|
|
|