xiaoyong931011
2023-05-30 917ebe3e7aa120189dd74a482f498a9aee4a4be3
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>