Administrator
2026-07-01 31a4b5b1db5d78f8b6557368667b74954a228df5
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},'%')
@@ -413,7 +413,7 @@
    <select id="getsalemanRuleList" resultType="cc.mrbird.febs.mall.entity.MallMember">
        SELECT m.*,
               b.name couponName
               GROUP_CONCAT(b.name SEPARATOR ', ') couponName
        FROM mall_member m
        LEFT Join saleman_coupon a on m.id = a.member_id
        LEFT Join mall_goods_coupon b on b.id = a.coupon_id and b.state = 2
@@ -430,6 +430,7 @@
                </if>
            </if>
        </where>
        GROUP BY m.id
        order by m.CREATED_TIME desc
    </select>
@@ -442,4 +443,12 @@
        where id = #{id}
    </update>
    <update id="updateLastLoginTime">
        update mall_member
        set last_login_time = #{lastLoginTime}
        where id = #{id}
    </update>
</mapper>