nc推送地址动态从三方接口获取;
This commit is contained in:
+4
-4
@@ -443,7 +443,7 @@ public class ReconciliationImpl extends ServiceImpl<ReconciliationMapper, Reconc
|
|||||||
query.setInterfaceType("nc");
|
query.setInterfaceType("nc");
|
||||||
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
||||||
if (urlList != null && urlList.size() > 0) {
|
if (urlList != null && urlList.size() > 0) {
|
||||||
url = urlList.get(0).getInterfaceType();
|
url = urlList.get(0).getInterfaceTypeValue();
|
||||||
} else {
|
} else {
|
||||||
throw new ServiceException("未找到该组织的推送地址!");
|
throw new ServiceException("未找到该组织的推送地址!");
|
||||||
}
|
}
|
||||||
@@ -646,7 +646,7 @@ public class ReconciliationImpl extends ServiceImpl<ReconciliationMapper, Reconc
|
|||||||
query.setInterfaceType("nc");
|
query.setInterfaceType("nc");
|
||||||
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
||||||
if (urlList != null && urlList.size() > 0) {
|
if (urlList != null && urlList.size() > 0) {
|
||||||
url = urlList.get(0).getInterfaceType();
|
url = urlList.get(0).getInterfaceTypeValue();
|
||||||
} else {
|
} else {
|
||||||
throw new ServiceException("未找到该组织的推送地址!");
|
throw new ServiceException("未找到该组织的推送地址!");
|
||||||
}
|
}
|
||||||
@@ -904,7 +904,7 @@ public class ReconciliationImpl extends ServiceImpl<ReconciliationMapper, Reconc
|
|||||||
query.setInterfaceType("nc");
|
query.setInterfaceType("nc");
|
||||||
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
||||||
if (urlList != null && urlList.size() > 0) {
|
if (urlList != null && urlList.size() > 0) {
|
||||||
url = urlList.get(0).getInterfaceType();
|
url = urlList.get(0).getInterfaceTypeValue();
|
||||||
} else {
|
} else {
|
||||||
throw new ServiceException("未找到该组织的推送地址!");
|
throw new ServiceException("未找到该组织的推送地址!");
|
||||||
}
|
}
|
||||||
@@ -1070,7 +1070,7 @@ public class ReconciliationImpl extends ServiceImpl<ReconciliationMapper, Reconc
|
|||||||
query.setInterfaceType("nc");
|
query.setInterfaceType("nc");
|
||||||
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
List<SysDepartInterfaceInfoPo> urlList = thirdPartyServiceFeign.queryList(query);
|
||||||
if (urlList != null && urlList.size() > 0) {
|
if (urlList != null && urlList.size() > 0) {
|
||||||
url = urlList.get(0).getInterfaceType();
|
url = urlList.get(0).getInterfaceTypeValue();
|
||||||
} else {
|
} else {
|
||||||
throw new ServiceException("未找到该组织的推送地址!");
|
throw new ServiceException("未找到该组织的推送地址!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user