提交 b0321c2f authored 作者: 吕本才's avatar 吕本才

1、修改传参方式--供应链分析页面查询报表列表接口

上级 17f355fb
...@@ -8,7 +8,6 @@ import com.sfa.common.core.web.controller.BaseController; ...@@ -8,7 +8,6 @@ import com.sfa.common.core.web.controller.BaseController;
import com.sfa.common.datascope.annotation.DataScope; import com.sfa.common.datascope.annotation.DataScope;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -35,7 +34,7 @@ public class ReportShareQueryController extends BaseController { ...@@ -35,7 +34,7 @@ public class ReportShareQueryController extends BaseController {
*/ */
@DataScope(deptAlias = "d", userAlias = "u") @DataScope(deptAlias = "d", userAlias = "u")
@GetMapping("/list") @GetMapping("/list")
public R<List<ReportShareBiListDto>> selectList(@RequestBody ReportShareListVo reportShareListVo) { public R<List<ReportShareBiListDto>> selectList(ReportShareListVo reportShareListVo) {
List<ReportShareBiListDto> reportShareBiListDtos = reportShareService.selectList(reportShareListVo); List<ReportShareBiListDto> reportShareBiListDtos = reportShareService.selectList(reportShareListVo);
return R.ok(reportShareBiListDtos); return R.ok(reportShareBiListDtos);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论