|
@@ -82,7 +82,7 @@ module.exports = app => {
|
|
|
// 判断是否可删
|
|
|
const result = await transaction.delete(this.tableName, { id });
|
|
|
await transaction.commit();
|
|
|
- return result;
|
|
|
+ return await this.ctx.service.materialList.getMaterialData(this.ctx.tender.id, this.ctx.material.id);
|
|
|
} catch (err) {
|
|
|
await transaction.rollback();
|
|
|
throw err;
|