From e3639991ad290c83118919b41a610c8439909741 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 10 Apr 2024 01:35:53 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/modules/MallMemberMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml index 91ea9a7..405cf4f 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},'%') -- Gitblit v1.9.1