src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -36,11 +36,15 @@ <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"> <if test="c.customerType != null"> and c.customer_type = #{c.customerType} </if> <if test="c.bound_id != null"> and cpp.bound_id = #{c.boundId} </if> </where> order by cpp.id desc </select>