From 75b60332f174363cfe67f61dea87832be708ac15 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 04 七月 2023 08:37:46 +0800
Subject: [PATCH] 更新部分接口

---
 cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml b/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
index 1277a14..e253b64 100644
--- a/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
+++ b/cloud-server-account/src/main/resources/mapper/TAppUserMapper.xml
@@ -31,4 +31,9 @@
         <result column="headImg" property="headImg" />
     </resultMap>
 
+
+
+    <update id="membershipEnd">
+        update t_app_user set isVip = 0 where isVip = 1 and now() >= vipEndTime
+    </update>
 </mapper>

--
Gitblit v1.7.1