Commit 668ba7b9 by 蒋勇

order

parent c85752d3
......@@ -156,7 +156,7 @@ class RptTypeService extends ServiceBase{
}});
}
async queryStatus2(u){
return this.db.models.uploadbatch.findAll({where:{userid:u.userid}});
return this.db.models.uploadbatch.findAll({where:{userid:u.userid},order:[["created_at","DESC"]]});
}
async queryReport(batchid){
var batch=await this.db.models.uploadbatch.findById(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