Commit c85752d3 by 蒋勇

d

parent 4d073eb8
......@@ -15,6 +15,7 @@ class APIBase extends DocBase {
"rpt.saveRptHistory",
"rpt.saveRpt",
"rpt.queryStatus",
"rpt.queryStatus2",
"rpt.queryReport",
"rpt.buildWordReport",
"rpt.queryPosMap",
......
......@@ -80,6 +80,11 @@ class RptAPI extends APIBase{
var x=await this.rptService.queryStatus(pobj);
return system.getResult(x);
}
//{userid:xxx}
async queryStatus2(pobj,query){
var x=await this.rptService.queryStatus2(pobj);
return system.getResult(x);
}
//{batchid:xxx,rptUrl:xxxx}
async updateTaskRptUrl(pobj,query){
if(pobj){
......
......@@ -155,7 +155,7 @@ class RptTypeService extends ServiceBase{
}
}});
}
async queryStatus(u){
async queryStatus2(u){
return this.db.models.uploadbatch.findAll({where:{userid:u.userid}});
}
async queryReport(batchid){
......
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