From fcd015db14a2bbddadee5f8cc5ccc438fee8e4d9 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期三, 19 十一月 2025 17:15:39 +0800
Subject: [PATCH] 解决线上bug

---
 framework/src/main/java/cn/lili/modules/statistics/mapper/PlatformViewMapper.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/statistics/mapper/PlatformViewMapper.java b/framework/src/main/java/cn/lili/modules/statistics/mapper/PlatformViewMapper.java
index 6eeea40..f4aac4e 100644
--- a/framework/src/main/java/cn/lili/modules/statistics/mapper/PlatformViewMapper.java
+++ b/framework/src/main/java/cn/lili/modules/statistics/mapper/PlatformViewMapper.java
@@ -22,4 +22,12 @@
      */
     @Select("SELECT sum(uv_num) FROM li_s_platform_view_data ${ew.customSqlSegment}")
     Integer count(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
+    /**
+     * UV娴侀噺缁熻
+     *
+     * @param queryWrapper 鏌ヨ鏉′欢
+     * @return UV娴侀噺缁熻鏁伴噺
+     */
+    @Select("SELECT COUNT(DISTINCT(user_id)) FROM lmk_action_record ${ew.customSqlSegment}")
+    Integer uvCount(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
 }
\ No newline at end of file

--
Gitblit v1.8.0