xiaoyong931011
2021-12-07 bf144316f5bbd9bd442123ab8d8e5be4f9e42602
src/main/resources/mapper/fish/CannonSettingDao.xml
@@ -7,11 +7,17 @@
    </select>
    <select id="findCannonSettingInPage" resultType="com.xcong.excoin.modules.fish.vo.CannonSettingVo">
        select a.* from cannon_setting a order by id asc
        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>