Browse Source

暂存计量信息

MaiXinRong 3 years ago
parent
commit
d7a42403b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/stage_stash.js

+ 1 - 1
app/service/stage_stash.js

@@ -38,7 +38,7 @@ module.exports = app => {
             const result = await this.db.insert(this.tableName, {
                 pid: this.ctx.session.sessionProject.id, tid: stage.tid, sid: stage.id, sorder: stage.order,
                 uid: this.ctx.session.sessionUser.accountId, uname: this.ctx.session.sessionUser.name,
-                filepath, info: {status: stage.status, flow: stage.curAuditor ? stage.curAuditor.user_id : stage.uid}, remark
+                filepath, info: JSON.stringify({ status: stage.status, flow: stage.curAuditor ? stage.curAuditor.user_id : stage.uid }), remark
             });
             return result.insertId;
         }