1
zj
2024-06-13 8eea5be3b36875bd4ffe70e6c3a5bb07b1d829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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.yami.trading.dao.rate.UserRateConfigMapper">
 
    <sql id="userRateConfigColumns">
        a.uuid AS "uuid",
        a.out_or_in AS "outOrIn",
        a.currency AS "currency",
        a.party_id AS "partyId"
    </sql>
 
    <sql id="userRateConfigJoins">
 
    </sql>
 
 
 
    <select id="findById" resultType="com.yami.trading.bean.rate.dto.UserRateConfigDTO">
        SELECT
            <include refid="userRateConfigColumns"/>
        FROM t_user_rate_config a
        <include refid="userRateConfigJoins"/>
        WHERE a.uuid = #{id} and a.del_flag = 0
    </select>
 
    <select id="findList" resultType="com.yami.trading.bean.rate.dto.UserRateConfigDTO">
        SELECT
            <include refid="userRateConfigColumns"/>
        FROM t_user_rate_config a
        <include refid="userRateConfigJoins"/>
        ${ew.customSqlSegment}
    </select>
 
 
</mapper>