| | |
| | | select |
| | | a.amount amount, |
| | | a.type type, |
| | | a.from_hash fromAddress, |
| | | a.to_hash toAddress, |
| | | date_format(a.create_time, '%Y-%m-%d %H:%m:%s') createTime |
| | | from dapp_fund_flow a |
| | | <where> |
| | |
| | | and a.status = #{record.status} |
| | | </if> |
| | | </where> |
| | | order by a.create_time desc, a.id desc |
| | | order by a.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectListForMemberAndDay" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity"> |
| | |
| | | where status = #{status} |
| | | and from_hash is null |
| | | and is_return = 2 |
| | | and type in (5,6) |
| | | and type in (5,6,34) |
| | | ORDER BY |
| | | id ASC |
| | | LIMIT 1 |