From 53443db90d66094124dbbeebbcf763032a2333d0 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期五, 23 五月 2025 18:27:37 +0800
Subject: [PATCH] fix: 修复订单详情知情书的显示

---
 ruoyi-system/src/main/resources/mapper/system/SysClientAppMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysClientAppMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysClientAppMapper.xml
index 5837c9d..b60da7f 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysClientAppMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysClientAppMapper.xml
@@ -24,10 +24,11 @@
         <result property="payUrl"    column="pay_url"    />
         <result property="orderClass"    column="order_class"    />
         <result property="userId"    column="user_id"    /> 
+        <result property="referrals"    column="referrals"    />
     </resultMap>
 
     <sql id="selectSysClientAppVo">
-        select app_id, client_name, app_key, security_key, valid_start_time, valid_end_time, status, del_flag, create_by, create_time, update_by, update_time, remark, min_app_id, min_app_secret, callback_url, pay_url, order_class, user_id from sys_client_app
+        select app_id, client_name, app_key, security_key, valid_start_time, valid_end_time, status, del_flag, create_by, create_time, update_by, update_time, remark, min_app_id, min_app_secret, callback_url, pay_url, order_class, user_id, referrals from sys_client_app
     </sql>
 
     <select id="selectSysClientAppList" parameterType="SysClientApp" resultMap="SysClientAppResult">
@@ -72,6 +73,7 @@
             <if test="payUrl != null">pay_url,</if>
             <if test="orderClass != null">order_class,</if>
             <if test="userId != null">user_id,</if>
+            <if test="referrals != null">referrals,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="clientName != null">#{clientName},</if>
@@ -92,6 +94,7 @@
             <if test="payUrl != null">#{payUrl},</if>
             <if test="orderClass != null">#{orderClass},</if>
             <if test="userId != null">#{userId},</if>
+            <if test="referrals != null">#{referrals},</if>
          </trim>
     </insert>
 
@@ -111,6 +114,7 @@
             <if test="payUrl != null">pay_url = #{payUrl},</if>
             <if test="orderClass != null">order_class = #{orderClass},</if>
             <if test="userId != null">user_id = #{userId},</if>
+            <if test="referrals != null">referrals = #{referrals},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>
             update_time = sysdate()
         </set>

--
Gitblit v1.9.1