From cf99945deda3cba4b0e634abb100847f5cc2529b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 07 五月 2026 11:36:46 +0800
Subject: [PATCH] 优化共享客户以及列表查询
---
src/main/java/com/ruoyi/account/controller/AccountingController.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/ruoyi/account/controller/AccountingController.java b/src/main/java/com/ruoyi/account/controller/AccountingController.java
index 0f0552d..4688942 100644
--- a/src/main/java/com/ruoyi/account/controller/AccountingController.java
+++ b/src/main/java/com/ruoyi/account/controller/AccountingController.java
@@ -4,8 +4,8 @@
import com.ruoyi.account.service.impl.AccountingServiceImpl;
import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.v3.oas.annotations.Operation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,7 +16,7 @@
* @author :yys
* @date : 2026/1/17 10:40
*/
-@Api(tags = "浼氳鏍哥畻")
+@Tag(name = "浼氳鏍哥畻")
@RestController
@RequestMapping("/accounting")
@AllArgsConstructor
@@ -25,19 +25,19 @@
private AccountingServiceImpl accountingService;
- @ApiOperation("鎬昏")
+ @Operation(summary = "鎬昏")
@GetMapping("/total")
public AjaxResult total(@RequestParam Integer year) {
return accountingService.total(year);
}
- @ApiOperation("璁惧绫诲瀷鍒嗗竷")
+ @Operation(summary = "璁惧绫诲瀷鍒嗗竷")
@GetMapping("/deviceTypeDistribution")
public AjaxResult deviceTypeDistribution(@RequestParam Integer year) {
return accountingService.deviceTypeDistribution(year);
}
- @ApiOperation("璁惧鍒嗛〉鏌ヨ璁$畻鎶樻棫")
+ @Operation(summary = "璁惧鍒嗛〉鏌ヨ璁$畻鎶樻棫")
@GetMapping("/calculateDepreciation")
public AjaxResult calculateDepreciation(Page page, @RequestParam Integer year) {
return accountingService.calculateDepreciation(page,year);
--
Gitblit v1.9.3