|
@@ -283,6 +283,13 @@ module.exports = app => {
|
|
|
await transaction.delete(this.ctx.service.reviseBills.tableName, { tender_id: id });
|
|
|
await transaction.delete(this.ctx.service.revisePos.tableName, { tid: id });
|
|
|
|
|
|
+ await transaction.delete(this.ctx.service.material.tableName, { tid: id });
|
|
|
+ await transaction.delete(this.ctx.service.materialAudit.tableName, { tid: id });
|
|
|
+ await transaction.delete(this.ctx.service.materialBills.tableName, { tid: id });
|
|
|
+ await transaction.delete(this.ctx.service.materialBillsHistory.tableName, { tid: id });
|
|
|
+ await transaction.delete(this.ctx.service.materialList.tableName, { tid: id });
|
|
|
+ await transaction.delete(this.ctx.service.materialListNotjoin.tableName, { tid: id });
|
|
|
+
|
|
|
await transaction.delete(this.ctx.service.signatureUsed.tableName, { tender_id: id });
|
|
|
await transaction.delete(this.ctx.service.signatureRole.tableName, { tender_id: id });
|
|
|
// 先删除附件文件
|