|
@@ -202,13 +202,27 @@ public class ItdmRunFlowPathController extends JeecgController<ItdmRunFlowPath,
|
|
|
new ArrayList<>();
|
|
|
List<String> roleIds = sysBaseApi.getRoleIdsByUsername(user.getUsername());
|
|
|
|
|
|
-
|
|
|
+ LoginUser loginUser = sysBaseApi.getUserByName(i.getFqUser());
|
|
|
if (strings.contains(user.getUsername()) || roleIds.contains(i.getRoleId())) {
|
|
|
|
|
|
|
|
|
- vos.add(FlowPathConvert.INSTANCE.to(i, true, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()), x && i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()) ? weituoInfo : null));
|
|
|
+ ItdmRunFlowPathStepVO itdmRunFlowPathStepVO = FlowPathConvert.INSTANCE.to(i, true, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()), x && i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()) ? weituoInfo : null);
|
|
|
+
|
|
|
+
|
|
|
+ itdmRunFlowPathStepVO.setFqUserName(loginUser != null ? loginUser.getRealname() : "");
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ vos.add(itdmRunFlowPathStepVO);
|
|
|
} else {
|
|
|
- vos.add(FlowPathConvert.INSTANCE.to(i, false, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()), x && i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()) ? weituoInfo : null));
|
|
|
+
|
|
|
+ ItdmRunFlowPathStepVO itdmRunFlowPathStepVO= FlowPathConvert.INSTANCE.to(i, false, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()), x && i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp()) ? weituoInfo : null);
|
|
|
+
|
|
|
+ itdmRunFlowPathStepVO.setFqUserName(loginUser != null ? loginUser.getRealname() : "");
|
|
|
+
|
|
|
+ vos.add(itdmRunFlowPathStepVO);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|