|
@@ -129,8 +129,8 @@ module.exports = app => {
|
|
|
if (data.uuid) {
|
|
|
const org = await this.getLastestImStageData(this.ctx.tender.id, this.ctx.stage.id, data.lid, data.uuid);
|
|
|
const order = this.ctx.stage.curAuditor ? this.ctx.stage.curAuditor.order : 0;
|
|
|
- delete org.flow;
|
|
|
if (org.times === this.ctx.stage.times && org.order === order) {
|
|
|
+ delete org.flow;
|
|
|
const newData = this._.assign(org, data);
|
|
|
await this.db.update(this.tableName, newData);
|
|
|
return newData;
|