From 384bce80449b17651937429038c4370dbce60e7b Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 13 十月 2026 15:12:22 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/Hugray

---
 hugray-server/ruoyi-modules/ruoyi-user/src/main/resources/mapper/user/AccountUserMapper.xml |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/hugray-server/ruoyi-modules/ruoyi-user/src/main/resources/mapper/user/AccountUserMapper.xml b/hugray-server/ruoyi-modules/ruoyi-user/src/main/resources/mapper/user/AccountUserMapper.xml
index 971cf8f..12f7ab4 100644
--- a/hugray-server/ruoyi-modules/ruoyi-user/src/main/resources/mapper/user/AccountUserMapper.xml
+++ b/hugray-server/ruoyi-modules/ruoyi-user/src/main/resources/mapper/user/AccountUserMapper.xml
@@ -32,6 +32,7 @@
         <result property="virtualStockQty"   column="virtual_stock_qty"    />
         <result property="virtualStockValue" column="virtual_stock_value"  />
         <result property="delFlag"         column="del_flag"          />
+        <result property="myReferralCode"   column="my_referral_code"   />
         <result property="providerFlag"    column="provider_flag"     />
         <result property="createBy"        column="create_by"         />
         <result property="createTime"      column="create_time"       />
@@ -56,7 +57,7 @@
                referrer_id, referrer_bind_time, supplier_id, supplier_bind_time,
                buy_order_count, buy_amount_total, sell_order_count, sell_amount_total,
                purchase_order_count, purchase_amount_total, sell_profit_total,
-               virtual_stock_qty, virtual_stock_value,
+               virtual_stock_qty, virtual_stock_value,my_referral_code,
                del_flag, provider_flag, create_by, create_time, update_by, update_time, remark
         from account_user
     </sql>
@@ -138,7 +139,8 @@
             <if test="gender != null and gender != ''">gender,</if>
             <if test="birthday != null">birthday,</if>
             <if test="status != null and status != ''">status,</if>
-            <if test="systemLevel != null and systemLevel != ''">system_level,</if>
+        <if test="myReferralCode != null and myReferralCode != ''">my_referral_code,</if>
+        <if test="systemLevel != null and systemLevel != ''">system_level,</if>
             <if test="subjectType != null and subjectType != ''">subject_type,</if>
             <if test="authStatus != null and authStatus != ''">auth_status,</if>
             <if test="city != null and city != ''">city,</if>
@@ -158,7 +160,9 @@
             <if test="gender != null and gender != ''">#{gender},</if>
             <if test="birthday != null">#{birthday},</if>
             <if test="status != null and status != ''">#{status},</if>
-            <if test="systemLevel != null and systemLevel != ''">#{systemLevel},</if>
+        <if test="myReferralCode != null and myReferralCode != ''">#{myReferralCode},</if>
+
+        <if test="systemLevel != null and systemLevel != ''">#{systemLevel},</if>
             <if test="subjectType != null and subjectType != ''">#{subjectType},</if>
             <if test="authStatus != null and authStatus != ''">#{authStatus},</if>
             <if test="city != null and city != ''">#{city},</if>
@@ -183,6 +187,7 @@
             <if test="gender != null and gender != ''">gender = #{gender},</if>
             <if test="birthday != null">birthday = #{birthday},</if>
             <if test="status != null and status != ''">status = #{status},</if>
+            <if test="myReferralCode != null and myReferralCode != ''">my_referral_code = #{myReferralCode},</if>
             <if test="systemLevel != null and systemLevel != ''">system_level = #{systemLevel},</if>
             <if test="subjectType != null and subjectType != ''">subject_type = #{subjectType},</if>
             <if test="authStatus != null and authStatus != ''">auth_status = #{authStatus},</if>

--
Gitblit v1.7.1