Helius
2021-03-04 095d9d75e4f587374f96dcd85e7a0fb3d99d09a9
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>