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