| | |
| | | <!--根据条件查询提现列表--> |
| | | <select id="getWithdrawalList" resultType="map" parameterType="com.baomidou.mybatisplus.plugins.Page"> |
| | | SELECT * FROM (SELECT |
| | | case when pw.userType = 1 then uu.nickName when pw.userType = 2 then dd.`name` else '' end as userName, |
| | | case when pw.userType = 1 then uu.nickName when pw.userType = 2 then CONCAT(dd.firstName, " ", dd.lastName) else '' end as userName, |
| | | case when pw.userType = 1 then uu.phone when pw.userType = 2 then dd.phone else '' end as userPhone, |
| | | pw.* |
| | | FROM t_pub_withdrawal as pw |
| | |
| | | |
| | | <select id="getWithdrawalListNoPage" resultType="map"> |
| | | SELECT * FROM (SELECT |
| | | case when pw.userType = 1 then uu.nickName when pw.userType = 2 then dd.`name` else '' end as userName, |
| | | case when pw.userType = 1 then uu.nickName when pw.userType = 2 then CONCAT(dd.firstName, " ", dd.lastName) else '' end as userName, |
| | | case when pw.userType = 1 then uu.phone when pw.userType = 2 then dd.phone else '' end as userPhone, |
| | | DATE_FORMAT(pw.insertTime, '%Y-%m-%d %H:%i') as applyTime, |
| | | pw.* |