Compare commits
2 Commits
883c25593e
...
d427f6a104
Author | SHA1 | Date | |
---|---|---|---|
d427f6a104 | |||
fc33b58c8e |
@ -93,9 +93,11 @@ public class RFUtils {
|
||||
public static List<Long> getFBaseDataIds(FilterInfo filter, String propName) {
|
||||
List<Long> ids = new ArrayList<>();
|
||||
DynamicObjectCollection collection = filter.getDynamicObjectCollection(propName);
|
||||
for (DynamicObject d : collection) {
|
||||
long id = d.getLong("id");
|
||||
ids.add(id);
|
||||
if (collection != null) {
|
||||
for (DynamicObject d : collection) {
|
||||
long id = d.getLong("id");
|
||||
ids.add(id);
|
||||
}
|
||||
}
|
||||
return ids;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user