Merge branch 'feature/mall_product' into test

feature/mall_product
tangqian 2023-06-13 14:20:04 +08:00
commit 88556d0805
1 changed files with 17 additions and 14 deletions

View File

@ -9,7 +9,8 @@
文档可见https://www.iocoder.cn/MyBatis/x-plugins/ 文档可见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 select
a.order_id as 'orderNo', a.order_id as 'orderNo',
e.name as tenantName, e.name as tenantName,
@ -18,7 +19,10 @@
f.price as proTotalPrice, f.price as proTotalPrice,
f.price as payPrice, f.price as payPrice,
a.paid as afterStatus, 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.uid as 'vipAccount',
a.real_name as vipName a.real_name as vipName
from cy_recharge_order_info f from cy_recharge_order_info f
@ -37,5 +41,4 @@
</select> </select>
</mapper> </mapper>