liyong
2026-04-17 8b68e5a8d8d43bcb45c9032c3eb893a2b8995acf
src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -36,10 +36,10 @@
        <where>
            cpp.delete_flag = 0
            <if test="c.customerName != null and c.customerName != ''">
                and c.customer_name like concat('%', #{c.customerName}, '%')
                and (c.customer_name like concat('%', #{c.customerName}, '%') or cp.customer_name like concat('%', #{c.customerName}, '%'))
            </if>
            <if test="c.boundId != null">
                and cpp.bound_id = #{c.boundId}
            <if test="c.customerType != null">
                and c.customer_type = #{c.customerType}
            </if>
        </where>
        order by cpp.id desc