Commit af41a38c by 蒋勇

d

parent a06ac430
...@@ -59,7 +59,7 @@ class RptTypeService extends ServiceBase{ ...@@ -59,7 +59,7 @@ class RptTypeService extends ServiceBase{
} }
} }
hisdata.forEach(hd=>{ hisdata.forEach(async hd=>{
var pposition=md5(hd.desc); var pposition=md5(hd.desc);
var h={ var h={
companycode:batch.companycode, companycode:batch.companycode,
...@@ -84,7 +84,7 @@ class RptTypeService extends ServiceBase{ ...@@ -84,7 +84,7 @@ class RptTypeService extends ServiceBase{
} }
//判断是否修改过日期 //判断是否修改过日期
if(this.cacheModiRptDate[batchid].indexOf(rptid)<0){ if(this.cacheModiRptDate[batchid].indexOf(rptid)<0){
//按照报表ID修改日期 //按照报表ID修改日期 ""
await self.db.models.uploadrpt.update({"rptdate":rptdate},{ where: { id: rptid }, transaction: t }) await self.db.models.uploadrpt.update({"rptdate":rptdate},{ where: { id: rptid }, transaction: t })
this.cacheModiRptDate[batchid].push(rptid); this.cacheModiRptDate[batchid].push(rptid);
} }
......
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