Merge branch 'refs/heads/fix-report-zzs' into test

This commit is contained in:
violet 2024-09-05 21:39:38 +08:00
commit d427f6a104

View File

@ -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;
}