xiaoyong931011
2021-12-07 bf144316f5bbd9bd442123ab8d8e5be4f9e42602
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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>
 
</mapper>