| | |
| | | withdrawalType as withdrawalType, |
| | | serialNo as serialNo |
| | | from t_pub_withdrawal |
| | | where flag != 3 and userType = #{userType} and userId = #{uid} and type = #{type} order by insertTime desc limit #{pageNum}, #{size} |
| | | where flag != 3 and userType = #{userType} and userId = #{uid} and type = #{type} |
| | | <if test="null != state"> |
| | | and state = #{state} |
| | | </if> |
| | | order by insertTime desc limit #{pageNum}, #{size} |
| | | </select> |
| | | |
| | | |
| | | |
| | | <select id="queryWithdrawalSum" resultType="double"> |
| | | select |
| | | ifnull(sum(money), 0) as money |
| | | from t_pub_withdrawal |
| | | where flag != 3 and userType = #{userType} and userId = #{uid} and type = #{type} |
| | | </select> |
| | | </mapper> |