Commit dd63e965 by 蒋勇

d

parent af41a38c
...@@ -59,7 +59,7 @@ class RptTypeService extends ServiceBase{ ...@@ -59,7 +59,7 @@ class RptTypeService extends ServiceBase{
} }
} }
hisdata.forEach(async hd=>{ hisdata.forEach(hd=>{
var pposition=md5(hd.desc); var pposition=md5(hd.desc);
var h={ var h={
companycode:batch.companycode, companycode:batch.companycode,
...@@ -85,7 +85,7 @@ class RptTypeService extends ServiceBase{ ...@@ -85,7 +85,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 }) 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