|  |  |  | 
|---|
|  |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
|---|
|  |  |  | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | 
|---|
|  |  |  | <mapper namespace="com.xcong.excoin.modules.coin.dao.platform.TradeSettingDao"> | 
|---|
|  |  |  | <mapper namespace="com.xcong.excoin.modules.platform.dao.TradeSettingDao"> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="findTradeSetting" resultType="com.xcong.excoin.modules.coin.entity.PlatformTradeSettingEntity"> | 
|---|
|  |  |  | <select id="findTradeSetting" resultType="com.xcong.excoin.modules.platform.entity.PlatformTradeSettingEntity"> | 
|---|
|  |  |  | SELECT * FROM platform_trade_setting | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="findSymbolSkubySymbol" resultType="com.xcong.excoin.modules.coin.entity.PlatformSymbolsSku"> | 
|---|
|  |  |  | <select id="findSymbolSkubySymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformSymbolsSkuEntity"> | 
|---|
|  |  |  | select * from platform_symbols_sku | 
|---|
|  |  |  | <where> | 
|---|
|  |  |  | <if test="symbol!=null and symbol!=''"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="findAllSymbolSkubySymbol" resultType="com.xcong.excoin.modules.coin.entity.PlatformSymbolsSku"> | 
|---|
|  |  |  | <select id="findAllSymbolSkubySymbol" resultType="com.xcong.excoin.modules.platform.entity.PlatformSymbolsSkuEntity"> | 
|---|
|  |  |  | select * from platform_symbols_sku | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="findLeverageSetting" resultType="com.xcong.excoin.modules.coin.entity.PlatformLeverageSettingEntity"> | 
|---|
|  |  |  | <select id="findLeverageSetting" resultType="com.xcong.excoin.modules.platform.entity.PlatformLeverageSettingEntity"> | 
|---|
|  |  |  | select * from platform_leverage_setting order by value ASC | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|