xiaoyong931011
2023-05-30 61fa5c937f9fc59258a6e7f6dfdcb8ac941cb70f
src/main/resources/mapper/dapp/DappAKlineMapper.xml
@@ -61,4 +61,20 @@
        order by a.create_time asc
    </select>
    <select id="selectOneHourByType" resultType="cc.mrbird.febs.dapp.entity.DappAKlineEntity">
        select
            a.*
        from dapp_a_kline a
        where type = 1
        order by a.create_time desc
            limit 1
    </select>
    <select id="selectListByIds" resultType="cc.mrbird.febs.dapp.entity.DappAKlineEntity">
        select
            a.*
        from dapp_a_kline a
        where id between #{min} and #{max}
    </select>
</mapper>