|
@@ -174,11 +174,12 @@ public class ItdmRunFlowPathController extends JeecgController<ItdmRunFlowPath,
|
|
|
new ArrayList<>();
|
|
|
List<String> roleIds = sysBaseApi.getRoleIdsByUsername(user.getUsername());
|
|
|
if (strings.contains(user.getUsername()) || roleIds.contains(i.getRoleId())) {
|
|
|
- vos.add(FlowPathConvert.INSTANCE.to(i, true));
|
|
|
+ vos.add(FlowPathConvert.INSTANCE.to(i, true, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp())));
|
|
|
} else {
|
|
|
- vos.add(FlowPathConvert.INSTANCE.to(i, false));
|
|
|
+ vos.add(FlowPathConvert.INSTANCE.to(i, false, i.getFlowPathSetp().equals(itdmRunFlowPath.getDqSetp())));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return Result.OK(new ItdmRunFlowPathInfoVO(itdmRunFlowPath, vos));
|
|
@@ -210,6 +211,4 @@ public class ItdmRunFlowPathController extends JeecgController<ItdmRunFlowPath,
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|