feat:处理云之家回写接口调用失败问题
This commit is contained in:
parent
7776bd4779
commit
679c8eb5ff
@ -196,10 +196,12 @@ public class YZJAuditController {
|
|||||||
DynamicObject[] result = null;
|
DynamicObject[] result = null;
|
||||||
|
|
||||||
for (int attempt = 0; attempt < maxRetries; attempt++) {
|
for (int attempt = 0; attempt < maxRetries; attempt++) {
|
||||||
|
logger.info("第 " + attempt + " 次查询!");
|
||||||
try {
|
try {
|
||||||
result = BusinessDataServiceHelper.load(bos_entityobjectnum, fields, qFilter);
|
result = BusinessDataServiceHelper.load(bos_entityobjectnum, fields, qFilter);
|
||||||
|
|
||||||
if (result != null && result.length > 0) {
|
if (result != null && result.length > 0) {
|
||||||
|
logger.info("查询到数据:" + result.length + "条");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user