@byted-apaas/server-sdk-node 1.1.27-beta.0 → 1.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -439,9 +439,7 @@ async function handleLookupCondition(conditions) {
|
|
|
439
439
|
fields.push(await Request.GetInstance().getField(firstObjApiName, missFields[0]));
|
|
440
440
|
}
|
|
441
441
|
else if (missFields.length > 1) { // 批量获取
|
|
442
|
-
|
|
443
|
-
const fetchSet = new Set(missFields);
|
|
444
|
-
fields.push(...allFields.filter((f) => fetchSet.has(f.api_name)));
|
|
442
|
+
fields = await Request.GetInstance().getFields(firstObjApiName);
|
|
445
443
|
}
|
|
446
444
|
for (const field of fields) {
|
|
447
445
|
parseFieldInfo(field, lookupMap, dateSet);
|