Merge branch 'refs/heads/fix-report-zzs' into test
This commit is contained in:
commit
d427f6a104
@ -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