|
@@ -82,6 +82,8 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
|
|
|
private final AssoProofGroupStrService assoProofGroupStrService;
|
|
|
private final InvalidProcessService invalidProcessService;
|
|
|
private final ProofStrService proofStrService;
|
|
|
+ private final ArgumentsScenarioService argumentsScenarioService;
|
|
|
+ private final ScratchService scratchService;
|
|
|
|
|
|
private Report loadReport(ReportDTO reportDto) {
|
|
|
Report report = new Report();
|
|
@@ -560,7 +562,10 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
|
|
|
invalidProcessService.remove(new LambdaQueryWrapper<InvalidProcess>().eq(InvalidProcess::getReportId, id));
|
|
|
//删除无效理由证据表数据
|
|
|
proofStrService.remove(new LambdaQueryWrapper<ProofStr>().eq(ProofStr::getReportId, id));
|
|
|
-
|
|
|
+ //删除陈述意见方案表数据
|
|
|
+ argumentsScenarioService.remove(new LambdaQueryWrapper<ArgumentsScenarios>().eq(ArgumentsScenarios::getReportId, id));
|
|
|
+ //删除"SCRATCH"表数据
|
|
|
+ scratchService.remove(new LambdaQueryWrapper<Scratch>().eq(Scratch::getReportId, id));
|
|
|
|
|
|
Boolean dele = this.removeById(id);
|
|
|
if (dele == true) {
|