瀏覽代碼

fix: 修复计量审批重审原报重复推送的问题

lanjianrong 4 年之前
父節點
當前提交
defed754ad
共有 1 個文件被更改,包括 1 次插入9 次删除
  1. 1 9
      app/service/stage_audit.js

+ 1 - 9
app/service/stage_audit.js

@@ -311,15 +311,7 @@ module.exports = app => {
                 // 添加推送
                 const noticeContent = await this.getNoticeContent(pid, audit.tid, stageId, audit.aid)
                 const auditors = await this.getAuditGroupByListWithOwner(stageId, times)
-                const records = [
-                    {
-                        pid,
-                        type: pushType.stage,
-                        uid: this.ctx.stage.user_id,
-                        status: auditConst.status.checked,
-                        content: noticeContent
-                    }
-                ]
+                const records = []
                 auditors.forEach(audit => {
                     records.push({
                         pid,