ef index_data
qc = params[:q]
qc.merge!({"order_total_"+params[:order_total] => params[:order_total_cont]}) if params[:order_total].present? and params[:order_total_cont].present?
@q = StatisticalChargingPile.search(qc).result.select("sum(order_total) as order_total_sum, parking_area_name, third_party_pile_id, serial_number, operator_name").group("serial_number").having("order_total_sum > ? ",params[:order_total_cont] ).order("created_at desc")
end