Helius
2021-11-24 be6f79a634727b59c6a40e3fffa989b5de1b0ec7
src/main/resources/mapper/fish/CannonSettingDao.xml
New file
@@ -0,0 +1,17 @@
<?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 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>
</mapper>