@@ -673,7 +673,7 @@ module.exports = app => {
}
async cover() {
- return await this.db.delete(this.ctx.service.materialList.tableName, { tid: this.ctx.tender.id, mid: this.ctx.material.id });
+ return await this.db.delete(this.ctx.service.materialList.tableName, { tid: this.ctx.tender.id, mid: this.ctx.material.id, is_self: 0 });
/**