From 4ee9e6833f738e22390c4e875fe140c2b96cfcc2 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 29 十一月 2024 04:03:37 +0800
Subject: [PATCH] 项目库分页查询
---
business/src/main/java/com/ycl/controller/ProjectInvestmentFundingController.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/business/src/main/java/com/ycl/controller/ProjectInvestmentFundingController.java b/business/src/main/java/com/ycl/controller/ProjectInvestmentFundingController.java
index 4f5d4ff..5ecf6c4 100644
--- a/business/src/main/java/com/ycl/controller/ProjectInvestmentFundingController.java
+++ b/business/src/main/java/com/ycl/controller/ProjectInvestmentFundingController.java
@@ -27,55 +27,55 @@
@RequiredArgsConstructor
@Api(value = "椤圭洰鎶曡祫鍙婅祫閲戞潵婧愭儏鍐佃〃", tags = "椤圭洰鎶曡祫鍙婅祫閲戞潵婧愭儏鍐佃〃绠$悊")
@RestController
-@RequestMapping("/project-investment-funding")
+@RequestMapping("/project/investmentFunding")
public class ProjectInvestmentFundingController {
private final ProjectInvestmentFundingService projectInvestmentFundingService;
@PostMapping
@ApiOperation(value = "娣诲姞", notes = "娣诲姞")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:add')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:add')")
public Result add(@RequestBody @Validated(Add.class) ProjectInvestmentFundingForm form) {
return projectInvestmentFundingService.add(form);
}
@PutMapping
@ApiOperation(value = "淇敼", notes = "淇敼")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:edit')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:edit')")
public Result update(@RequestBody @Validated(Update.class) ProjectInvestmentFundingForm form) {
return projectInvestmentFundingService.update(form);
}
@DeleteMapping("/{id}")
@ApiOperation(value = "ID鍒犻櫎", notes = "ID鍒犻櫎")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:del')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:del')")
public Result removeById(@PathVariable("id") String id) {
return projectInvestmentFundingService.removeById(id);
}
@DeleteMapping("/batch")
@ApiOperation(value = "鎵归噺鍒犻櫎", notes = "鎵归噺鍒犻櫎")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:del:batch')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:del:batch')")
public Result remove(@RequestBody @NotEmpty(message = "璇烽�夋嫨鏁版嵁") List<String> ids) {
return projectInvestmentFundingService.remove(ids);
}
@GetMapping("/page")
@ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:page')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:page')")
public Result page(ProjectInvestmentFundingQuery query) {
return projectInvestmentFundingService.page(query);
}
@GetMapping("/{id}")
@ApiOperation(value = "璇︽儏", notes = "璇︽儏")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:detail')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:detail')")
public Result detail(@PathVariable("id") Integer id) {
return projectInvestmentFundingService.detail(id);
}
@GetMapping("/list")
- @PreAuthorize("hasAuthority('projectInvestmentFunding:list')")
+// @PreAuthorize("hasAuthority('projectInvestmentFunding:list')")
@ApiOperation(value = "鍒楄〃", notes = "鍒楄〃")
public Result list() {
return projectInvestmentFundingService.all();
--
Gitblit v1.8.0