|
@@ -12,6 +12,7 @@ import cn.cslg.pas.common.model.importTaskModel.PatentApplicant;
|
|
|
import cn.cslg.pas.common.utils.*;
|
|
|
import cn.cslg.pas.common.vo.ContentVO;
|
|
|
import cn.cslg.pas.common.vo.StarPatentVO;
|
|
|
+import cn.cslg.pas.common.vo.business.PatentNoVO;
|
|
|
import cn.cslg.pas.domain.WebLoginConfig;
|
|
|
import cn.cslg.pas.domain.business.RetrieveRecord;
|
|
|
import cn.cslg.pas.domain.es.PatentClassify;
|
|
@@ -848,26 +849,23 @@ public class PatentStarApiService {
|
|
|
patentColumnDTO.setInventor(names);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
//装载权利人
|
|
|
if (item.getCurrentApplicantStr() != null && !item.getCurrentApplicantStr().trim().equals("")) {
|
|
|
List<String> names = Arrays.asList(item.getCurrentApplicantStr().split(";"));
|
|
|
patentColumnDTO.setRightHolder(names);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//装载代理人
|
|
|
if (item.getAgentStr() != null && !item.getAgentStr().trim().equals("")) {
|
|
|
List<String> names = Arrays.asList(item.getAgentStr().split(";"));
|
|
|
patentColumnDTO.setAgent(names);
|
|
|
}
|
|
|
+
|
|
|
//装载代理机构
|
|
|
if (item.getAgencyStr() != null && !item.getAgencyStr() .trim().equals("")) {
|
|
|
patentColumnDTO.setAgency(item.getAgencyStr() );
|
|
|
}
|
|
|
|
|
|
-
|
|
|
patentColumnDTOS.add(patentColumnDTO);
|
|
|
});
|
|
|
|
|
@@ -903,4 +901,32 @@ public class PatentStarApiService {
|
|
|
return dto;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据专利号查询外部权利要求
|
|
|
+ * @param vo
|
|
|
+ * @return
|
|
|
+ * @throws IOException
|
|
|
+ */
|
|
|
+ public PatentColumnDTO queryExternalDetail(PatentNoVO vo) throws IOException {
|
|
|
+ PatentStarListDTO patentStarListDTO = new PatentStarListDTO();
|
|
|
+ String condition = "AN=" + vo.getPatentNo();
|
|
|
+ patentStarListDTO.setCurrentQuery(condition);
|
|
|
+ patentStarListDTO.setDBType("CN");
|
|
|
+ patentStarListDTO.setOrderBy("AD");
|
|
|
+ patentStarListDTO.setOrderByType("DESC");
|
|
|
+ patentStarListDTO.setPageNum(1);
|
|
|
+ patentStarListDTO.setRowCount(10);
|
|
|
+ Records records = this.patentStarSearchLocal(patentStarListDTO);
|
|
|
+ Object data = records.getData();
|
|
|
+ String s = JSONArray.toJSONString(data);
|
|
|
+ List<PatentColumnDTO> list = JSONArray.parseArray(s, PatentColumnDTO.class);
|
|
|
+ PatentColumnDTO dto = new PatentColumnDTO();
|
|
|
+ if (!CollectionUtils.isEmpty(list)) {
|
|
|
+ for (PatentColumnDTO columnDTO : list) {
|
|
|
+ BeanUtils.copyProperties(columnDTO, dto);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return dto;
|
|
|
+ }
|
|
|
+
|
|
|
}
|