Helius
2020-07-07 ce4fb58f85eefe9fe6bb6213d8f1576d1925a5ef
src/main/resources/mapper/platform/PlatformFeeSettingDao.xml
@@ -3,7 +3,7 @@
<mapper namespace="com.xcong.excoin.modules.platform.dao.PlatformFeeSettingDao">
   <select id="getFeeSettingByTypeAndSymbolLable" resultType="com.xcong.excoin.modules.platform.entity.PlatformFeeSettingEntity">
       select * from fee_setting
       select * from platform_fee_setting
        <where>
          <if test="type != null  and  type  != ''">
              type = #{type}
@@ -18,7 +18,19 @@
    </select>
    
    <select id="getFeeSettingByTypeAndSymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformFeeSettingEntity">
       select * from fee_setting where  type = #{type} and symbol = #{symbol}
       select * from platform_fee_setting where  type = #{type} and symbol = #{symbol}
    </select>
    <select id="getFeeSettingsByTypeAndSymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformFeeSettingEntity">
       select * from platform_fee_setting
        <where>
          <if test="type != null  and  type  != ''">
              type = #{type}
          </if>
          <if test="symbol != null  and  symbol  != ''">
             and symbol = #{symbol}
          </if>
       </where>
    </select>
   
</mapper>