Commit 6786ca23 by 蒋勇

d

parent fc8bd905
......@@ -20,14 +20,19 @@ class PatentycCtl extends CtlBase {
async obtainreport(pobj,obj,req){
var result = await this.service.obtainreport(obj);
return System.getResult2(result,null);
}
}
async reportGeneration(pobj, obj, req) {//导出报告
var result = await this.service.reportGeneration(obj);
return System.getResult2(result, null);
};
//申请人分析-申请人排名
async applierRank(pobj, obj, req) {
var result = await this.service.applierRank(obj);
return System.getResult2(result, null);
};
//申请人分析-申请人归属国分析
async applierCity(pobj, obj, req) {
var result = await this.service.applierCity(obj);
......@@ -117,11 +122,6 @@ class PatentycCtl extends CtlBase {
return System.getResult2(result, null);
};
async reportGeneration(pobj, obj, req) {//导出报告
var result = await this.service.reportGeneration(obj);
return System.getResult2(result, null);
};
async mainCountryApplyTrend(pobj, obj, req) {//区域分析-主要国家申请趋势
var result = await this.service.mainCountryApplyTrend(obj);
return System.getResult2(result, null);
......@@ -471,7 +471,7 @@ class PatentycCtl extends CtlBase {
}
}
var pubstatus = "";
if (patentinfo1.data.hits[i]._source.pub_status != null) {
if (patentinfo1.data.hits[i]._source.pub_status != null){
pubstatus = patentinfo1.data.hits[i]._source.pub_status;
}
var item = {
......@@ -483,7 +483,7 @@ class PatentycCtl extends CtlBase {
applydate: patentinfo1.data.hits[i]._source.filing_time,
publishdate: publish_date,
articletype: patentinfo1.data.hits[i]._source.pub_type,
pubstatus: pubstatus
pubstatus:pubstatus
}
patent1.push(item);
}
......@@ -525,7 +525,7 @@ class PatentycCtl extends CtlBase {
applydate: patentinfo2.data.hits[i]._source.app_date,
publishdate: patentinfo2.data.hits[i]._source.pub_date,
articletype: patentinfo2.data.hits[i]._source.pub_type,
pubstatus: ""
pubstatus:""
}
patent2.push(item);
}
......@@ -980,7 +980,7 @@ class PatentycCtl extends CtlBase {
var pubstatus = "";
if (patentinfo1.data.hits[i]._source.pub_status != null) {
pubstatus = patentinfo1.data.hits[i]._source.pub_status;
}
}
var item = {
applynum: patentinfo1.data.hits[i]._source.filing_no,
publishnum: publish_num,
......@@ -1307,6 +1307,5 @@ class PatentycCtl extends CtlBase {
}
return System.getResult2(result, null);
}
}
module.exports = PatentycCtl;
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