tj
2025-04-02 e2c56f53fcfeb638c35464e9da18b78334daad0f
src/main/resources/mapper/customer/CustomerMapper.xml
@@ -4,6 +4,11 @@
    <update id="bindPartner">
        update t_customer_info set partner_id = #{partnerId} , partner_user_id = #{userId} where id = #{id}
    </update>
    <update id="checkVipExpireTime">
        update t_customer_info c
        set c.is_member = 0,c.member_overtime = NULL
        where c.member_overtime < now() and c.is_member = 1
    </update>
    <select id="queryCustomer" resultType="com.mzl.flower.dto.response.customer.CustomerDTO">
        SELECT
            c.*,