From e04db107292ac4e1802dce3b587620423cf0efb8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 12 五月 2026 16:50:09 +0800
Subject: [PATCH] refactor(purchase): 使用 productModelId 替换 salesLedgerProductId 以统一退货统计逻辑

---
 src/main/resources/mapper/device/DeviceLedgerMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/device/DeviceLedgerMapper.xml b/src/main/resources/mapper/device/DeviceLedgerMapper.xml
index c980120..f3b674e 100644
--- a/src/main/resources/mapper/device/DeviceLedgerMapper.xml
+++ b/src/main/resources/mapper/device/DeviceLedgerMapper.xml
@@ -88,7 +88,7 @@
         where id = #{id}
     </select>
     <select id="getDeviceTypeDistributionByYear"
-            resultType="com.ruoyi.account.dto.DeviceTypeDetail"
+            resultType="com.ruoyi.account.bean.dto.DeviceTypeDetail"
             parameterType="java.lang.Integer">
         SELECT
             `type`,

--
Gitblit v1.9.3