Helius
2020-09-02 056e8200e7c81c66ad8fba43cadab3fce022977a
src/main/resources/mapper/platform/PlatformFeeSettingDao.xml
@@ -20,5 +20,17 @@
    <select id="getFeeSettingByTypeAndSymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformFeeSettingEntity">
       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>