From bc2f38a3e86de8e19b73a4bead3c81703678ad2f Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期四, 31 七月 2025 15:45:30 +0800
Subject: [PATCH] 用户查看剩余试用天数 && 管理员授予会员

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 95dc3a5..5911126 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -251,7 +251,8 @@
  			<if test="loginDate != null">login_date = #{loginDate},</if>
  			<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
  			<if test="remark != null">remark = #{remark},</if>
- 			update_time = sysdate()
+			<if test="paid != null and paid != ''">paid = #{paid},</if>
+			update_time = sysdate()
  		</set>
  		where user_id = #{userId}
 	</update>

--
Gitblit v1.9.1