id, code, order_type, order_classification, app_user_id, app_user_car_id,site_id, parking_lot_id, charging_pile_id, charging_gun_id, start_time, end_time, status, recharge_amount, recharge_payment_type, recharge_payment_status, pay_method, balance_pay_amount, third_pay_amount, balance_refund_amount, third_refund_amount, recharge_serial_number, order_amount, app_coupon_id, coupon_discount_amount, is_whitelist, whitelist_id, whitelist_benefit_type, whitelist_discount_amount, whitelist_electric_refund_amount, whitelist_service_refund_amount, vip_discount, vip_discount_amount, payment_amount, refund_code, refund_amount, refund_status, refund_serial_number, refund_time, create_time, del_flag,need_elec,total_electricity where b.del_flag = 0 and b.recharge_payment_status = 2 and b.start_time IS NOT NULL and b.end_time is not null and b.code LIKE CONCAT('%',#{req.code},'%') and b.app_user_id in #{item} and b.site_id in #{item} and b.order_type = #{req.orderType} and b.status = #{req.status} and (b.order_source = 0 or b.order_source = 1 ) and b.tripartite_platform_name = 'KuaiDian' and b.tripartite_platform_name = 'XinDianTu' and b.is_whitelist = #{req.isWhitelist} and b.recharge_payment_type = 1 and b.recharge_payment_type in (2, 3) and b.pay_method in (1, 2) and b.site_id = #{req.siteId} and b.charging_pile_id = #{req.pileId} and b.charging_gun_id = #{req.gunId} and (b.pay_time between #{startTime1} and #{startTime2}) and (b.end_time between #{endTime1} and #{endTime2})