| | |
| | | </if> |
| | | order by t1.create_time desc |
| | | </select> |
| | | <select id="refundPageList" resultType="com.ruoyi.system.vo.TTicketOrderVo"> |
| | | select t1.id, t1.order_no, t1.create_time, t2.name userName, t2.phone, t1.order_price, t1.ticket_info, t1.status |
| | | from t_ticket_order t1 |
| | | left join t_app_user t2 on t1.app_user_id = t2.id |
| | | where t1.disabled = 0 and t1.status in (3,4,5) |
| | | <if test="query.phone != null and query.phone != ''"> |
| | | and t2.phone like concat('%',#{query.phone},'%') |
| | | </if> |
| | | <if test="query.ticket != null and query.ticket != ''"> |
| | | and t1.ticket_info like concat('%',#{query.ticket},'%') |
| | | </if> |
| | | <if test="query.status != null"> |
| | | and t1.status = #{query.status} |
| | | </if> |
| | | order by t1.create_time desc |
| | | </select> |
| | | |
| | | </mapper> |