|
@@ -290,7 +290,7 @@ module.exports = app => {
|
|
|
await transaction.delete(this.ctx.service.changeApplyHistory.tableName, { caid: caId });
|
|
|
// todo 更新标段tender状态 ?
|
|
|
// 检查三方特殊推送
|
|
|
- await this.ctx.service.specMsg.addChangeApplyMsg(transaction, pid, this.ctx.change, pushOperate.change_apply.flow);
|
|
|
+ await this.ctx.service.specMsg.addChangeApplyMsg(transaction, this.ctx.session.sessionProject.id, this.ctx.change, pushOperate.change_apply.flow);
|
|
|
await transaction.commit();
|
|
|
} catch (err) {
|
|
|
await transaction.rollback();
|
|
@@ -956,7 +956,7 @@ module.exports = app => {
|
|
|
decimal: null,
|
|
|
});
|
|
|
// 检查三方特殊推送
|
|
|
- await this.ctx.service.specMsg.addChangeApplyMsg(transaction, pid, this.ctx.change, pushOperate.change_apply.flow);
|
|
|
+ await this.ctx.service.specMsg.addChangeApplyMsg(transaction, this.ctx.session.sessionProject.id, this.ctx.change, pushOperate.change_apply.flow);
|
|
|
await transaction.commit();
|
|
|
result = true;
|
|
|
} catch (error) {
|