From aa5feb8f990bc4f01b1a1e15cac41458f3c2179a Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 11 Apr 2024 17:25:32 +0800 Subject: [PATCH] 检测报告 --- 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