Browse Source

tenderID 读取bug

laiguoran 4 years ago
parent
commit
724f98dfb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/change.js

+ 1 - 1
app/service/change.js

@@ -610,7 +610,7 @@ module.exports = app => {
                     change_update.p_code = postData.p_code;
                     change_update.sin_time = Date.parse(new Date()) / 1000;
 
-                    await this.ctx.service.tenderTag.saveTenderTag(tenderId, {bgl_time: new Date()}, this.transaction);
+                    await this.ctx.service.tenderTag.saveTenderTag(this.ctx.tender.id, { bgl_time: new Date() }, this.transaction);
 
                     // 添加短信通知-审批通过提醒功能
                     // const mobile_array = [];