feat:处理云之家回写接口调用失败问题

This commit is contained in:
zzs 2025-01-20 16:15:14 +08:00
parent 7776bd4779
commit 679c8eb5ff

View File

@ -196,10 +196,12 @@ public class YZJAuditController {
DynamicObject[] result = null;
for (int attempt = 0; attempt < maxRetries; attempt++) {
logger.info("" + attempt + " 次查询!");
try {
result = BusinessDataServiceHelper.load(bos_entityobjectnum, fields, qFilter);
if (result != null && result.length > 0) {
logger.info("查询到数据:" + result.length + "");
return result;
}