Compare commits

...

2 Commits

Author SHA1 Message Date
d427f6a104 Merge branch 'refs/heads/fix-report-zzs' into test 2024-09-05 21:39:38 +08:00
fc33b58c8e fix:报表产品分类多选 2024-09-05 21:39:16 +08:00

View File

@ -93,9 +93,11 @@ public class RFUtils {
public static List<Long> getFBaseDataIds(FilterInfo filter, String propName) { public static List<Long> getFBaseDataIds(FilterInfo filter, String propName) {
List<Long> ids = new ArrayList<>(); List<Long> ids = new ArrayList<>();
DynamicObjectCollection collection = filter.getDynamicObjectCollection(propName); DynamicObjectCollection collection = filter.getDynamicObjectCollection(propName);
for (DynamicObject d : collection) { if (collection != null) {
long id = d.getLong("id"); for (DynamicObject d : collection) {
ids.add(id); long id = d.getLong("id");
ids.add(id);
}
} }
return ids; return ids;
} }