|
@@ -871,13 +871,13 @@ public class PatentStarApiService {
|
|
|
}
|
|
|
patentColumnDTO.setIpc(classifies);
|
|
|
//获取摘要附图
|
|
|
- String pictureApi = this.getPictureApi(item.getRowApplicationNo());
|
|
|
- patentColumnDTO.setPictureGuid(pictureApi);
|
|
|
+// String pictureApi = this.getPictureApi(item.getRowApplicationNo());
|
|
|
+// patentColumnDTO.setPictureGuid(pictureApi);
|
|
|
//获取外部专利原始申请号
|
|
|
patentColumnDTO.setRowApplicationNo(item.getRowApplicationNo());
|
|
|
//获取法律状态
|
|
|
- String cnLegalApi = this.getCnLegalApi(item.getRowApplicationNo());
|
|
|
- patentColumnDTO.setLegalStatus(Arrays.asList(cnLegalApi));
|
|
|
+// String cnLegalApi = this.getCnLegalApi(item.getRowApplicationNo());
|
|
|
+// patentColumnDTO.setLegalStatus(Arrays.asList(cnLegalApi));
|
|
|
//获取被引用次数
|
|
|
//装载公开日
|
|
|
if (item.getPublicDate() != null && !item.getPublicDate().trim().equals("")) {
|
|
@@ -985,9 +985,14 @@ public class PatentStarApiService {
|
|
|
public Records queryExternalFamily(QueryExternalFamilyVO vo) throws IOException {
|
|
|
Records records = new Records();
|
|
|
String family = this.getFamilyByPubNoApi(vo.getPatentNo());
|
|
|
+
|
|
|
QueryExternalFamilyDTO familyDTO = JSONObject.parseObject(family, QueryExternalFamilyDTO.class);
|
|
|
String familyInfos = familyDTO.getFamilyinfo();
|
|
|
- List<String> publicNos = Arrays.asList(familyInfos.split(";"));
|
|
|
+ List<String> publicNos = new ArrayList<>();
|
|
|
+ if (StringUtils.isNotEmpty(familyInfos) && familyInfos.equals("{}")) {
|
|
|
+ publicNos = Arrays.asList(familyInfos.split(";"));
|
|
|
+ }
|
|
|
+
|
|
|
String pubNo = "";
|
|
|
if (!CollectionUtils.isEmpty(publicNos)) {
|
|
|
int count = publicNos.size() - 1;
|
|
@@ -1137,4 +1142,16 @@ public class PatentStarApiService {
|
|
|
return list;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取摘要附图
|
|
|
+ * @param appNo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public String getPictureGuid(String appNo) {
|
|
|
+ return this.getPictureApi(appNo);
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getLegalStatus(String appNo) {
|
|
|
+ return this.getCnLegalApi(appNo);
|
|
|
+ }
|
|
|
}
|