|
@@ -33,14 +33,14 @@ public class AssoReportPersonController {
|
|
@Operation(summary = "添加分享人")
|
|
@Operation(summary = "添加分享人")
|
|
@PostMapping("/add")
|
|
@PostMapping("/add")
|
|
public String add(@RequestBody ShareReportDTO shareReportDTO) {
|
|
public String add(@RequestBody ShareReportDTO shareReportDTO) {
|
|
- Integer flag = assoReportPersonService.shareReport(shareReportDTO);
|
|
|
|
|
|
+ Integer flag = assoReportPersonService.shareReport(shareReportDTO);
|
|
return Response.success(flag);
|
|
return Response.success(flag);
|
|
}
|
|
}
|
|
|
|
|
|
@Operation(summary = "删除分享人")
|
|
@Operation(summary = "删除分享人")
|
|
@PostMapping("/remove")
|
|
@PostMapping("/remove")
|
|
public String remove(@RequestBody ShareReportDTO shareReportDTO) {
|
|
public String remove(@RequestBody ShareReportDTO shareReportDTO) {
|
|
-assoReportPersonService.removeShare(shareReportDTO);
|
|
|
|
|
|
+ assoReportPersonService.removeShare(shareReportDTO);
|
|
return Response.success();
|
|
return Response.success();
|
|
}
|
|
}
|
|
|
|
|