Commit e8d38ea3 by 蒋勇

d

parent 12e1881e
......@@ -50,12 +50,13 @@ class RptTypeService extends ServiceBase{
var codes=await this.db.models.positionmap.findAll({
order:[["nposition","ASC"]]
});
if(codes){
codes.forEach((codeitem)=>{
this.countMap[codeitem.rpttypecode]=codeitem.nposition;
this.posMap[codeitem.rpttypecode+"~"+codeitem.nposition]=codeitem.position;
this.codeMap[codeitem.position]=codeitem.rpttypecode+"~"+codeitem.nposition;
});
}
}
hisdata.forEach(hd=>{
......
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