zj
2024-06-03 a15e4f9fa2c34c4f4bd69f924c77e72a4c80e5ec
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
<?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.nq.dao.UserPendingorderMapper">
 
    <resultMap id="BaseResultMap" type="com.nq.pojo.UserPendingorder">
            <id property="id" column="id" jdbcType="INTEGER"/>
            <result property="userId" column="user_id" jdbcType="INTEGER"/>
            <result property="stockId" column="stock_id" jdbcType="INTEGER"/>
            <result property="buyNum" column="buy_num" jdbcType="INTEGER"/>
            <result property="buyType" column="buy_type" jdbcType="INTEGER"/>
            <result property="lever" column="lever" jdbcType="INTEGER"/>
            <result property="profitTarget" column="profit_target" jdbcType="DECIMAL"/>
            <result property="stopTarget" column="stop_target" jdbcType="DECIMAL"/>
            <result property="nowPrice" column="now_price" jdbcType="DECIMAL"/>
            <result property="targetPrice" column="target_price" jdbcType="DECIMAL"/>
            <result property="addTime" column="add_time" jdbcType="TIMESTAMP"/>
            <result property="status" column="status" jdbcType="INTEGER"/>
    </resultMap>
 
    <sql id="Base_Column_List">
        id,user_id,stock_id,
        buy_num,buy_type,lever,
        profit_target,stop_target,now_price,
        target_price,add_time,status
    </sql>
</mapper>