From 274673c7c81c639c1edb038281445f076c824dc1 Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期二, 18 三月 2025 09:08:17 +0800
Subject: [PATCH] 迭代版本:2.28

---
 ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java b/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java
index b9f7026..c3b250c 100644
--- a/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java
+++ b/ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java
@@ -232,7 +232,6 @@
     @TableField("total_performance_point")
     private Integer totalPerformancePoint;
 
-
     @ApiModelProperty(value = "总积分")
     @TableField("total_point")
     private Integer totalPoint;
@@ -337,11 +336,30 @@
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private LocalDateTime lastOrderTime;
 
+    @TableField(exist = false)
+    private Set<Long> userIds;
+
+    @TableField(exist = false)
+    private Integer excludeStatus;
+
     public String getIdStr(){
         return String.valueOf(id);
     }
 
 
+    public Integer getUserTotalPoint(){
+        if (lowerLevelSharePoint == null){
+            lowerLevelSharePoint = 0;
+        }
+        if (shopSharePoint == null){
+            shopSharePoint = 0;
+        }
+        if (shopAchievementPoint == null){
+            shopAchievementPoint = 0;
+        }
+        return totalPoint - lowerLevelSharePoint - shopSharePoint - shopAchievementPoint;
+    }
+
 
 
 }

--
Gitblit v1.7.1