| | |
| | | <result column="start_time" property="startTime" /> |
| | | <result column="end_time" property="endTime" /> |
| | | <result column="status" property="status" /> |
| | | <result column="end_mode" property="endMode"/> |
| | | <result column="recharge_amount" property="rechargeAmount" /> |
| | | <result column="recharge_payment_type" property="rechargePaymentType" /> |
| | | <result column="recharge_payment_status" property="rechargePaymentStatus" /> |
| | |
| | | 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, recharge_serial_number, order_amount, app_coupon_id, coupon_discount_amount, vip_discount, vip_discount_amount, payment_amount, refund_code, refund_amount, refund_status, refund_serial_number, refund_time, create_time, del_flag |
| | | </sql> |
| | | |
| | | |
| | | <select id="getMyChargingOrderList" resultMap="BaseResultMap"> |
| | | select * from t_charging_order where del_flag = 0 and app_user_id = #{appUserId} |
| | | <if test="1 == type"> |
| | | and id not in (select order_id from t_order_evaluate where order_type = 1 and app_user_id = #{appUserId} and del_flag = 0) |
| | | </if> |
| | | order by create_time desc |
| | | <if test="null != pageCurr and null != pageSize"> |
| | | limit #{pageCurr}, #{pageSize} |
| | | </if> |
| | | </select> |
| | | </mapper> |