Commit e554d7dd by 王勇飞

gyq

parent 8ab4e40e
......@@ -46,6 +46,7 @@ class PatentQueryAPI extends WEBBase {
case "CommomSearchbyInventor"://根据发明人查询聚合
case "CommomSearchbyFilingno"://根据申请号查询聚合
case "CommomSearchbyPubno"://根据公开号查询聚合
case "AffairsearchbyFilingno"://根据申请号查询并根据法律状态日期排序
opResult = await this.patentSve.opReqResult(pobj, req);
break;
default:
......
......@@ -14,6 +14,7 @@
1. [根据申请号查询聚合](#CommomSearchbyFilingno)
1. [根据公开号查询聚合](#CommomSearchbyPubno)
1. [根据发明人查询聚合](#CommomSearchbyInventor)
1. [根据申请号查询并根据法律状态日期排序](#AffairsearchbyFilingno)
## **<a name="CommomSearchbyApplicant"> 根据申请人查询聚合接口</a>**
......@@ -1073,3 +1074,73 @@
}
```
## **<a name="AffairsearchbyFilingno"> 根据申请号查询并根据法律状态日期排序</a>**
[返回到目录](#menu)
##### URL
[/action/patentQuery/AffairsearchbyFilingno]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:AffairsearchbyFilingno
```javascript
{
"filingno":"201410451887"//申请号
}
```
#### 返回结果
```javascript
{
"status": 0,
"msg": "操作成功",
"data": {
"total": 3,
"max_score": null,
"hits": [{
"_index": "bigdata_patent_affair",
"_type": "_doc",
"_id": "24696710",
"_score": null,
"_source": {
"filing_no": "201410451887",
"aff_info": "公开",
"aff_date": "2015-01-21",
"aff_timestamp": 1421816400,
"aff_status": "公开",
"aff_code": "024000"
},
"sort": [1421798400000]
}, {
"_index": "bigdata_patent_affair",
"_type": "_doc",
"_id": "5523865",
"_score": null,
"_source": {
"filing_no": "201410451887",
"aff_info": "实质审查的生效",
"aff_date": "2015-02-18",
"aff_timestamp": 1424235600,
"aff_status": "实质审查的生效",
"aff_code": "001000"
},
"sort": [1424217600000]
}, {
"_index": "bigdata_patent_affair",
"_type": "_doc",
"_id": "41352716",
"_score": null,
"_source": {
"filing_no": "201410451887",
"aff_info": "授权",
"aff_date": "2017-10-10",
"aff_timestamp": 1507608000,
"aff_status": "授权",
"aff_code": "026000"
},
"sort": [1507593600000]
}]
},
"bizmsg": "empty"
}
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment