xiaoyong931011
2023-05-30 b65c0ec3695a9ddd6972e2671ae3059f8fd5de6d
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cc.mrbird.febs.dapp.mapper.DappChargeUsdtMapper">
 
    <select id="selectByMaxAmountMemberId" resultType="java.math.BigDecimal">
        select ifnull(MAX(amount),0)
        from dapp_charge_usdt
        where member_id = #{memberId}
    </select>
 
</mapper>