From 05fc3c0245c0fce5804d53f959ebb9aac804fb37 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 29 Apr 2025 15:45:00 +0800
Subject: [PATCH] refactor: 注释掉首页中的订单付款和会员注册相关代码 - 注释掉了订单付款相关的 HTML 结构 - 注释掉了会员注册相关的 HTML 结构 - 保留了原有的页面布局和样式
---
src/main/resources/mapper/modules/MallMemberMapper.xml | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml
index 91ea9a7..5dff51a 100644
--- a/src/main/resources/mapper/modules/MallMemberMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -11,8 +11,8 @@
left join mall_vip_config vipConfig on m.level = vipConfig.code
<where>
<if test="record != null" >
- <if test="record.birthday!=null">
- and m.birthday = #{record.birthday}
+ <if test="record.birthdayQuery!=null">
+ and date_format(m.birthday, '%m-%d') = date_format(#{record.birthdayQuery}, '%m-%d')
</if>
<if test="record.name!=null and record.name!=''">
and m.name like concat('%', #{record.name},'%')
@@ -442,4 +442,12 @@
where id = #{id}
</update>
+
+
+ <update id="updateLastLoginTime">
+ update mall_member
+ set last_login_time = #{lastLoginTime}
+ where id = #{id}
+ </update>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1