| | |
| | | <sql id="Base_Column_List"> |
| | | id, big_gift_package_order_id, applicant_user_id, applicant_time, refund_reason, voucher_picture, status, audit_user_id, audit_time, audit_remark |
| | | </sql> |
| | | <select id="pageRefundList" resultType="com.ruoyi.system.model.TBigGiftPackageOrder"> |
| | | select t1.id,t2.code,t2.create_time,t3.name userName,t3.phone,t2.order_price,t4.name bigGiftPackageName,t2.payment_type,t2.deposit,t2.final_payment,t1.status auditStatus from t_refund_application t1 left join t_big_gift_package_order t2 on t1.big_gift_package_order_id = t2.id |
| | | left join t_app_user t3 on t2.app_user_id = t3.id left join t_big_gift_package t4 on t2.big_gift_package_id = t4.id |
| | | where 1=1 |
| | | <if test="query.name != null and query.name != ''"> |
| | | and t4.name like concat('%',#{query.name},'%') |
| | | </if> |
| | | order by t1.applicant_time desc |
| | | |
| | | </select> |
| | | |
| | | </mapper> |