Compare commits

..

2 Commits

Author SHA1 Message Date
tangqian 0390415a48 Merge branch 'feature/mall_product' 2023-06-13 14:49:27 +08:00
tangqian 9bf1a14ae6 fix:修改充值订单导出(未退款但是退款金额显示有金额) 2023-06-13 14:19:16 +08:00
1 changed files with 17 additions and 14 deletions

View File

@ -9,7 +9,8 @@
文档可见https://www.iocoder.cn/MyBatis/x-plugins/
-->
<select id="getRechargeOrderInfoListExcel" resultType="cn.iocoder.yudao.module.shop.controller.admin.recharge.vo.RechargeOrderInfoExcelVO">
<select id="getRechargeOrderInfoListExcel"
resultType="cn.iocoder.yudao.module.shop.controller.admin.recharge.vo.RechargeOrderInfoExcelVO">
select
a.order_id as 'orderNo',
e.name as tenantName,
@ -18,7 +19,10 @@
f.price as proTotalPrice,
f.price as payPrice,
a.paid as afterStatus,
f.price as refundPrice,
CASE a.refund_status
WHEN 2 THEN f.price
ELSE 0
END AS refundPrice,
a.uid as 'vipAccount',
a.real_name as vipName
from cy_recharge_order_info f
@ -37,5 +41,4 @@
</select>
</mapper>