|
|
@@ -1059,8 +1059,12 @@ public class FJNXSyncServiceImpl implements IFJNXSyncService {
|
|
|
if (ObjectUtil.isEmpty(list)) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
- //新增自定顶级机构“福建农信社”
|
|
|
- list.add(createCustomRootOrg());
|
|
|
+ //新增自定顶级机构“福建农信社”; 配置文件里面加了就添加,没配置就不添加
|
|
|
+ if(!StringUtil.isNullOrEmpty(thirdPartySystemConfig.getFjnxSyncOrgCustomRootOrgCode()))
|
|
|
+ {
|
|
|
+ list.add(createCustomRootOrg());
|
|
|
+ }
|
|
|
+
|
|
|
List<FjnxOrgBusinessRelation> fjnxOrgBusinessRelationList = fjnxOrgBusinessRelationMapper.selectList(Wrappers.emptyWrapper());
|
|
|
final ArrayList<FjnxOrg> resultList = new ArrayList<>();
|
|
|
Date syncDateTime = new Date();
|