|
@@ -473,11 +473,14 @@ public class EsCustomFieldService {
|
|
|
|
|
|
//将自定义字段添加到专利
|
|
|
public String addEsCustomFieldToEs(ESCustomField esCustomField, String patentNo, String patentId) throws Exception {
|
|
|
+
|
|
|
+
|
|
|
//根据专利号查询专利
|
|
|
if (patentId == null) {
|
|
|
PatentWithIdVO patentWithIdVO = esService.getIdByPatentNo(patentNo);
|
|
|
patentId = patentWithIdVO.getId();
|
|
|
}
|
|
|
+ esService.getIds(patentId, esCustomField.getProjectId(), esCustomField.getTaskId(), esCustomField.getField());
|
|
|
Patent patentChild = new Patent();
|
|
|
PatentJoin patentJoin = new PatentJoin();
|
|
|
patentJoin.setParent(patentId);
|