feat:删除报告时同时删除报告内容记录
This commit is contained in:
@@ -350,6 +350,10 @@ public class IReportServiceImpl extends ServiceImpl<ReportDao, ReportEntity>
|
||||
log.info(key + "已经删除");
|
||||
nameList.add(entity.getName());
|
||||
}
|
||||
//删除报告内容表中的记录
|
||||
LambdaQueryWrapper<ReportContentEntity> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.in(ReportContentEntity::getReportId, idList);
|
||||
iReportContentService.remove(wrapper);
|
||||
return nameList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user