From 0611c6769abdb9136ed7371a42efc37cecef9e2a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 22 五月 2026 15:07:34 +0800
Subject: [PATCH] feat(account): 重写财务报表统计功能,完善月度营收与应收应付数据

---
 src/main/java/com/ruoyi/account/bean/vo/AccountReportVo.java |   46 ++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/ruoyi/account/bean/vo/AccountReportVo.java b/src/main/java/com/ruoyi/account/bean/vo/AccountReportVo.java
index 6d09a31..f7b39d8 100644
--- a/src/main/java/com/ruoyi/account/bean/vo/AccountReportVo.java
+++ b/src/main/java/com/ruoyi/account/bean/vo/AccountReportVo.java
@@ -4,6 +4,7 @@
 import lombok.Data;
 
 import java.math.BigDecimal;
+import java.util.List;
 
 
 @Data
@@ -16,13 +17,50 @@
     @Schema(description = "鎬绘敮鍑�")
     private BigDecimal totalExpense;
 
-    @Schema(description = "鎬绘敹鍏ョ瑪鏁�")
-    private Integer incomeNumber;
+    @Schema(description = "搴旀敹璐︽")
+    private BigDecimal accountsReceivable;
 
-    @Schema(description = "鎬绘敮鍑虹瑪鏁�")
-    private Integer expenseNumber;
+    @Schema(description = "搴斾粯璐︽")
+    private BigDecimal accountsPayable;
 
     @Schema(description = "鍑�鏀跺叆")
     private BigDecimal netRevenue;
 
+    // --- 鎶樼嚎鍥撅細鏈堝害瓒嬪娍鏁版嵁 ---
+    @Schema(description = "鏈堝害瓒嬪娍鏁版嵁鍒楄〃")
+    private List<MonthlyTrendVO> monthlyTrendList;
+
+    // --- 鏌辩姸鍥撅細搴旀敹搴斾粯鏈堝害鏁版嵁 ---
+    @Schema(description = "搴旀敹搴斾粯鏈堝害鏁版嵁鍒楄〃")
+    private List<ReceivablePayableVO> receivablePayableList;
+
+    @Data
+    @Schema(description = "鏈堝害瓒嬪娍VO锛堟姌绾垮浘鐢級")
+    public static class MonthlyTrendVO {
+        @Schema(description = "鏈堜唤锛屾牸寮忥細yyyy-MM")
+        private String month;
+
+        @Schema(description = "褰撴湀钀ユ敹")
+        private BigDecimal income;
+
+        @Schema(description = "褰撴湀鏀嚭")
+        private BigDecimal expense;
+
+        @Schema(description = "褰撴湀鍑�鍒╂鼎")
+        private BigDecimal profit;
+    }
+
+    @Data
+    @Schema(description = "搴旀敹搴斾粯鏈堝害VO锛堟煴鐘跺浘鐢級")
+    public static class ReceivablePayableVO {
+        @Schema(description = "鏈堜唤锛屾牸寮忥細yyyy-MM")
+        private String month;
+
+        @Schema(description = "搴旀敹璐︽閲戦")
+        private BigDecimal receivable;
+
+        @Schema(description = "搴斾粯璐︽閲戦")
+        private BigDecimal payable;
+    }
+
 }

--
Gitblit v1.9.3