|
@@ -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;
|
|
|
}
|