| | |
| | | @ApiModelProperty("订单金额") |
| | | private Double amount; |
| | | |
| | | private String timeStr; |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private LocalDateTime time; |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | </select> |
| | | <select id="getHistoryOrderList" resultType="com.xiaopeng.order.model.vo.XpOrderHistoryListVO"> |
| | | select start_point_name as originAddress, end_point_name as destinationAddress, |
| | | DATE_FORMAT(create_time, '%H:%i') AS orderTime, pay_money as amount,create_time as time, |
| | | DATE_FORMAT(create_time, '%H:%i') AS orderTime, pay_money as amount,create_time as time,DATE_FORMAT(create_time,'%Y-%m-%d') AS timeStr, |
| | | id as orderId from xp_order where app_user_id = #{uid} and is_deleted = 0 and status in (9,10) |
| | | <if test="query.status != null"> |
| | | and status = #{query.status} |