Commit 3b23ecff by 蒋勇

d

parent 7067efeb
......@@ -188,7 +188,7 @@ class RptTypeService extends ServiceBase{
//返回
async resultJson(batchid){
var batch=await this.db.models.uploadbatch.findByPk(batchid);
var rs=await this.db.models.result.findAll({where:{"BatchNo":batchid},attributes:["indexName","status"]});
var rs=await this.db.models.result.findAll({where:{"BatchNo":batchid},attributes:["indexName","status","biztype"]});
console.log(rs);
var tmp={};
var arrayfi=[];
......@@ -217,7 +217,7 @@ class RptTypeService extends ServiceBase{
//让黄静调用一下
async buildWordReport(batchid){
var batch=await this.db.models.uploadbatch.findByPk(batchid);
var rs=await this.db.models.result.findAll({where:{"BatchNo":batchid},attributes:["indexName","status"]});
var rs=await this.db.models.result.findAll({where:{"BatchNo":batchid},attributes:["indexName","status","biztype"]});
var tmp={};
var arrayfi=[];
rs.forEach((item=>{
......
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