From 1b9936ba920d65df09ab8dba79c6252568ee26e4 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 26 三月 2025 12:16:02 +0800
Subject: [PATCH] 任务统计bug
---
business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java b/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
index c809bd6..7a6d79b 100644
--- a/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
+++ b/business/src/main/java/com/ycl/controller/ProjectInvestmentInfoController.java
@@ -27,55 +27,55 @@
@RequiredArgsConstructor
@Api(value = "鎶曡祫椤圭洰鍩虹淇℃伅琛�", tags = "鎶曡祫椤圭洰鍩虹淇℃伅琛ㄧ鐞�")
@RestController
-@RequestMapping("/project-investment-info")
+@RequestMapping("/project/investmentInfo")
public class ProjectInvestmentInfoController {
private final ProjectInvestmentInfoService projectInvestmentInfoService;
@PostMapping
@ApiOperation(value = "娣诲姞", notes = "娣诲姞")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:add')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:add')")
public Result add(@RequestBody @Validated(Add.class) ProjectInvestmentInfoForm form) {
return projectInvestmentInfoService.add(form);
}
@PutMapping
@ApiOperation(value = "淇敼", notes = "淇敼")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:edit')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:edit')")
public Result update(@RequestBody @Validated(Update.class) ProjectInvestmentInfoForm form) {
return projectInvestmentInfoService.update(form);
}
@DeleteMapping("/{id}")
@ApiOperation(value = "ID鍒犻櫎", notes = "ID鍒犻櫎")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:del')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:del')")
public Result removeById(@PathVariable("id") String id) {
return projectInvestmentInfoService.removeById(id);
}
@DeleteMapping("/batch")
@ApiOperation(value = "鎵归噺鍒犻櫎", notes = "鎵归噺鍒犻櫎")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:del:batch')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:del:batch')")
public Result remove(@RequestBody @NotEmpty(message = "璇烽�夋嫨鏁版嵁") List<String> ids) {
return projectInvestmentInfoService.remove(ids);
}
@GetMapping("/page")
@ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:page')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:page')")
public Result page(ProjectInvestmentInfoQuery query) {
return projectInvestmentInfoService.page(query);
}
@GetMapping("/{id}")
@ApiOperation(value = "璇︽儏", notes = "璇︽儏")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:detail')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:detail')")
public Result detail(@PathVariable("id") Integer id) {
return projectInvestmentInfoService.detail(id);
}
@GetMapping("/list")
- @PreAuthorize("hasAuthority('projectInvestmentInfo:list')")
+// @PreAuthorize("hasAuthority('projectInvestmentInfo:list')")
@ApiOperation(value = "鍒楄〃", notes = "鍒楄〃")
public Result list() {
return projectInvestmentInfoService.all();
--
Gitblit v1.8.0