From e16ac98e0d1049d18c508799d64f11d942c74920 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Sun, 27 Apr 2025 14:32:57 +0800 Subject: [PATCH] refactor(votesActivity): 修改自主报名字段名称 --- 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