提现审核增加成功提现次数和成功提现金额

This commit is contained in:
谭凯凯
2024-12-27 14:43:59 +08:00
committed by Tankaikai
parent a58f429783
commit 57b2253d9d
3 changed files with 18 additions and 2 deletions

View File

@@ -76,10 +76,13 @@
<select id="selectCashOutPage" resultType="com.sqx.modules.pay.entity.CashOut">
SELECT c.*,
ifnull(u.user_name,"用户不存在") as userName,
s.username as sysUserName
s.username as sysUserName,
ifnull(t.total,0.00) as total,
ifnull(t.count,0) as count
FROM cash_out c
left join tb_user u on c.user_id = u.user_id
left join sys_user s on s.user_id= c.sys_user_id
left join (select user_id,format(sum(money),2) as total,count(*) as count from cash_out where state = 1 GROUP BY user_id) t on c.user_id = t.user_id
<where>
<if test="cashOut.userName!=null and cashOut.userName!=''">
and u.user_name like concat("%",#{cashOut.userName},"%")