Helius
2020-07-07 d344e2b6d98c9942bdb9febf5d36886f6acadb0c
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>