<?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>
|