From 6b56672a7e02a0bf340021f00a4898bee9b13834 Mon Sep 17 00:00:00 2001
From: “mitao” <“2763622819@qq.com”>
Date: 星期二, 03 二月 2026 14:00:53 +0800
Subject: [PATCH] feat(applet):下单经销商支付参数根据用户预绑定推荐人获取
---
ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java b/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
index 07eb0e2..c26a364 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/model/TAppUser.java
@@ -1,9 +1,11 @@
package com.ruoyi.system.model;
+import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
+import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -40,14 +42,17 @@
@ApiModelProperty(value = "姓名")
@TableField("name")
+ @Excel(name = "用户名", width = 20,orderNum = "1")
private String name;
@ApiModelProperty(value = "头像")
@TableField("profile_photo")
+ @Excel(name = "头像", width = 20, imageType = 1,type = 2,orderNum = "0")
private String profilePhoto;
@ApiModelProperty(value = "推广号")
@TableField("code")
+ @Excel(name = "推广号", width = 20,orderNum = "2")
private String code;
@ApiModelProperty(value = "推广二维码地址")
@@ -56,27 +61,38 @@
@ApiModelProperty(value = "手机号")
@TableField("phone")
+ @Excel(name = "联系电话", width = 20,orderNum = "3")
private String phone;
@ApiModelProperty(value = "性别(1=男,2=女)")
@TableField("gender")
+ @Excel(name = "性别", width = 20,orderNum = "4",replace = {"男_1","女_2"})
private Integer gender;
@ApiModelProperty(value = "生日")
@TableField("birthday")
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "出生日期", width = 20,orderNum = "5",format = "yyyy-MM-dd")
private LocalDate birthday;
@ApiModelProperty(value = "微信openid")
@TableField("openid")
private String openid;
-
+// 1:游客;2:营销员;3:合伙人;
@ApiModelProperty(value = "角色(1=游客,2=营销员,3=合伙人)")
@TableField("user_type")
+ @Excel(name = "角色", width = 20,orderNum = "7",replace = {"游客_1","营销员_2","合伙人_3"})
private Integer userType;
@ApiModelProperty(value = "注册时间")
@TableField("create_time")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @Excel(name = "注册时间", width = 20,orderNum = "6",format = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createTime;
+
+ @ApiModelProperty(value = "历史累计积分")
+ @TableField("total_accumulative_integral")
+ private Integer totalAccumulativeIntegral;
@ApiModelProperty(value = "累计积分")
@TableField("accumulative_integral")
@@ -104,10 +120,19 @@
@ApiModelProperty(value = "状态(1=正常,2=冻结,3=删除)")
@TableField("status")
+ @Excel(name = "状态", width = 20,orderNum = "8",replace = {"正常_1","冻结_2","删除_3"})
private Integer status;
@ApiModelProperty(value = "股东ID")
@TableField("referrer_sys_user_id")
private Integer referrerSysUserId;
+ @ApiModelProperty(value = "股东推荐时间")
+ @TableField("referrer_sys_user_time")
+ private LocalDateTime referrerSysUserTime;
+
+ @ApiModelProperty(value = "当月预估积分")
+ @TableField(exist = false)
+ private BigDecimal estimatedMonthlyIntegral;
+
}
--
Gitblit v1.7.1