target/classes/mapper/UserWithdrawMapper.xml
@@ -281,5 +281,11 @@ DELETE FROM user_withdraw WHERE user_id = #{userId} </delete> <select id="sumPendingAmtByUserId" resultType="java.math.BigDecimal"> select ifnull(sum(with_amt), 0) from user_withdraw where user_id = #{userId} and with_status = 0 </select> </mapper>