xiaoyong931011
2021-12-08 f5e6133809c553cfd9fb28ee61019927c547c374
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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="com.xcong.excoin.modules.fish.dao.CannonSettingDao">
 
    <select id="selectCannonExchangeRatio" resultType="com.xcong.excoin.modules.fish.entity.CannonExchangeRatio">
        select a.* from cannon_exchange_ratio a
    </select>
 
    <select id="findCannonSettingInPage" resultType="com.xcong.excoin.modules.fish.vo.CannonSettingVo">
        select a.* from cannon_setting a order by a.id asc
    </select>
 
    <select id="selectCannonSettingByCannonCode" resultType="com.xcong.excoin.modules.fish.entity.CannonSetting">
        select a.* from cannon_setting a where a.code = #{cannonCode}
    </select>
 
    <select id="findCannonWinRecordInPage" resultType="com.xcong.excoin.modules.fish.vo.CannonWinRecordVo">
        select a.* from cannon_win_record a
        where a.member_id = #{cannonWinRecord.memberId}
        order by a.id asc
    </select>
 
    <select id="findCannonWinRecordList" resultType="com.xcong.excoin.modules.fish.vo.CannonWinRecordVo">
        select a.* from cannon_win_record a
        order by a.create_time desc limit 0,10
    </select>
 
</mapper>