From 810d81a44d78bc3e7c42c2f116cc9968ab04baef Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 07 二月 2025 15:57:28 +0800
Subject: [PATCH] 修改门店首页统计bug

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java |   41 ++++++++++++++++++++++++++++-------------
 1 files changed, 28 insertions(+), 13 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java
index 3dbe43c..34e632c 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/ShopPoint.java
@@ -4,6 +4,7 @@
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.common.core.annotation.Excel;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
@@ -38,10 +39,28 @@
     @ApiModelProperty(value = "门店id")
     @TableField("shop_id")
     private Integer shopId;
+    @ApiModelProperty(value = "门店名称")
+    @TableField(exist = false)
+    @Excel(name = "门店名称")
+    private String shopName;
 
+    @ApiModelProperty(value = "店长姓名")
+    @TableField(exist = false)
+    @Excel(name = "店长姓名")
+    private String shopLeaderName;
+    @ApiModelProperty(value = "联系电话")
+    @TableField(exist = false)
+    @Excel(name = "联系电话")
+    private String phone;
     @ApiModelProperty(value = "变动类型(1=门店业绩,2=门店返佣,3=下级门店返佣)")
     @TableField("type")
+    @Excel(name = "变动类型", readConverterExp = "1=门店服务返佣,2=门店返佣,3=下级门店返佣")
     private Integer type;
+    @ApiModelProperty(value = "变动时间")
+    @TableField("create_time")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    @Excel(name = "变动时间")
+    private LocalDateTime createTime;
 
     @ApiModelProperty(value = "历史余额")
     @TableField("historical_point")
@@ -49,12 +68,14 @@
 
     @ApiModelProperty(value = "变动金额")
     @TableField("variable_point")
+    @Excel(name = "变动金额")
     private Integer variablePoint;
+    
+    @ApiModelProperty(value = "变动后余额")
+    @TableField("balance")
+    private Integer balance;
 
-    @ApiModelProperty(value = "变动时间")
-    @TableField("create_time")
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-    private LocalDateTime createTime;
+
 
     @ApiModelProperty(value = "变动用户id")
     @TableField("create_user_id")
@@ -68,17 +89,11 @@
     @TableField("order_num")
     private String orderNum;
 
-    @ApiModelProperty(value = "门店名称")
-    @TableField(exist = false)
-    private String shopName;
 
-    @ApiModelProperty(value = "店长姓名")
-    @TableField(exist = false)
-    private String shopLeaderName;
 
-    @ApiModelProperty(value = "联系电话")
-    @TableField(exist = false)
-    private String phone;
+
+
+
 
     @TableField(exist = false)
     private List<Integer> shopIds;

--
Gitblit v1.7.1