|
@@ -5,6 +5,7 @@ import cn.cslg.report.common.model.vo.ReportVO;
|
|
import cn.cslg.report.common.utils.Response;
|
|
import cn.cslg.report.common.utils.Response;
|
|
import cn.cslg.report.common.utils.StringUtils;
|
|
import cn.cslg.report.common.utils.StringUtils;
|
|
import cn.cslg.report.entity.Report;
|
|
import cn.cslg.report.entity.Report;
|
|
|
|
+import cn.cslg.report.service.business.AssoTaskPersonelService;
|
|
import cn.cslg.report.service.business.CompareFilesService;
|
|
import cn.cslg.report.service.business.CompareFilesService;
|
|
import cn.cslg.report.service.business.ReportService;
|
|
import cn.cslg.report.service.business.ReportService;
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
@@ -24,7 +25,7 @@ import java.io.IOException;
|
|
@RequiredArgsConstructor(onConstructor_ = {@Lazy})
|
|
@RequiredArgsConstructor(onConstructor_ = {@Lazy})
|
|
public class ReportController {
|
|
public class ReportController {
|
|
private final ReportService reportService;
|
|
private final ReportService reportService;
|
|
-
|
|
|
|
|
|
+ private final AssoTaskPersonelService assoTaskPersonelService;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @param report 报告类
|
|
* @param report 报告类
|
|
@@ -79,6 +80,7 @@ public class ReportController {
|
|
@RequestMapping(value = "/deleReport", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/deleReport", method = RequestMethod.GET)
|
|
@Operation(summary = "删除报告")
|
|
@Operation(summary = "删除报告")
|
|
public String deleReport(Integer id)throws IOException {
|
|
public String deleReport(Integer id)throws IOException {
|
|
|
|
+ assoTaskPersonelService.deleAssoTaskPersonel(id);
|
|
return reportService.reportDele(id);
|
|
return reportService.reportDele(id);
|
|
}
|
|
}
|
|
|
|
|