Administrator
2026-07-01 6a55e75b8530197d1f561f710f9e53b7e40be171
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -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>