<iftest="complainName != null and complainName != ''"> and complain_name like concat('%', #{complainName}, '%')</if>
<iftest="complainPhone != null and complainPhone != ''"> and complain_phone = #{complainPhone}</if>
<iftest="complainMatter != null and complainMatter != ''"> and complain_matter = #{complainMatter}</if>
<iftest="transferRecord != null and transferRecord != ''"> and transfer_record = #{transferRecord}</if>
<iftest="dealCondition != null and dealCondition != ''"> and deal_condition = #{dealCondition}</if>
<iftest="complainAssignEnterproseName != null and complainAssignEnterproseName != ''"> and complain_assign_enterprose_name like concat('%', #{complainAssignEnterproseName}, '%')</if>
<iftest="complainAssignEnterproseId != null "> and complain_assign_enterprose_id = #{complainAssignEnterproseId}</if>
<iftest="complainAssignManId != null and complainAssignManId != ''"> and complain_assign_man_id = #{complainAssignManId}</if>
<iftest="complainAssignMan != null "> and complain_assign_man = #{complainAssignMan}</if>
<iftest="complainStatus != null and complainStatus != ''"> and complain_status = #{complainStatus}</if>
<iftest="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
<iftest="remarks != null and remarks != ''"> and remarks = #{remarks}</if>