Cui Zhi Feng
2024-10-15 ae036eb565335fc2b81d5b4a835f72cc4e4d3409
src/main/resources/mapper/customer/CustomerMapper.xml
@@ -40,6 +40,9 @@
        <if test="dto.partnerUserId != null and dto.partnerUserId != ''">
            and c.partner_user_id = #{dto.partnerUserId}
        </if>
        <if test="dto.isEnabled!=null">
            AND c.is_enabled = #{dto.isEnabled}
        </if>
        order by c.create_time desc
    </select>
    <select id="getCurrentCustomer" resultType="com.mzl.flower.dto.response.customer.CustomerDTO"