and create_by_name like concat('%', #{createByName}, '%')
and update_by_name like concat('%', #{updateByName}, '%')
and top_organization_id = #{topOrganizationId}
and organization_id = #{organizationId}
and organization_name like concat('%', #{organizationName}, '%')
and service_items_code = #{serviceItemsCode}
and service_items_name like concat('%', #{serviceItemsName}, '%')
and first_subject_code = #{firstSubjectCode}
and first_subject_name like concat('%', #{firstSubjectName}, '%')
and second_subject_code = #{secondSubjectCode}
and second_subject_name like concat('%', #{secondSubjectName}, '%')
and document_type_code = #{documentTypeCode}
and document_type = #{documentType}
and billing_rules_illustrate = #{billingRulesIllustrate}
and billing_rules_state = #{billingRulesState}
and billing_params_id = #{billingParamsId}
and billing_formula = #{billingFormula}
and top_organization_id = #{billingRulesDO.topOrganizationId}
and billing_rules_code like concat('%',#{billingRulesDO.billingRulesCode},'%')
and billing_rules_name like concat('%',#{billingRulesDO.billingRulesName},'%')
and document_type_code = #{billingRulesDO.documentTypeCode}
and service_items_code = #{billingRulesDO.serviceItemsCode}
and service_items_name like concat('%',#{billingRulesDO.serviceItemsName},'%')
and first_subject_code = #{billingRulesDO.firstSubjectCode}
and first_subject_name like concat('%',#{billingRulesDO.firstSubjectName},'%')
and second_subject_code = #{billingRulesDO.secondSubjectCode}
and second_subject_name like concat('%',#{billingRulesDO.secondSubjectName},'%')
and billing_rules_state = #{billingRulesDO.billingRulesState}
AND date_format(create_time,'%Y-%m-%d') =]]> #{billingRulesDO.createTimeStart}
AND date_format(create_time,'%Y-%m-%d') #{billingRulesDO.createTimeEnd}
AND create_by_name like concat('%', #{billingRulesDO.createByName}, '%')
and organization_id = #{billingRulesDO.organizationId}