|
@@ -4,14 +4,14 @@
|
4
|
4
|
<resultMap id="BaseResultMap" type="com.community.huiju.model.TpTransactionLike" >
|
5
|
5
|
<id column="id" property="id" jdbcType="INTEGER" />
|
6
|
6
|
<result column="community_id" property="communityId" jdbcType="INTEGER" />
|
7
|
|
- <result column="ta_user_id" property="taUserId" jdbcType="INTEGER" />
|
|
7
|
+ <result column="ta_user_verify_id" property="taUserVerifyId" jdbcType="INTEGER" />
|
8
|
8
|
<result column="transaction_id" property="transactionId" jdbcType="INTEGER" />
|
9
|
9
|
<result column="like_status" property="likeStatus" jdbcType="VARCHAR" />
|
10
|
10
|
<result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
|
11
|
11
|
<result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
|
12
|
12
|
</resultMap>
|
13
|
13
|
<sql id="Base_Column_List" >
|
14
|
|
- id, community_id, ta_user_id, transaction_id, like_status, create_date, update_date
|
|
14
|
+ id, community_id, ta_user_verify_id, transaction_id, like_status, create_date, update_date
|
15
|
15
|
</sql>
|
16
|
16
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
17
|
17
|
select
|
|
@@ -24,10 +24,10 @@
|
24
|
24
|
where id = #{id,jdbcType=INTEGER}
|
25
|
25
|
</delete>
|
26
|
26
|
<insert id="insert" parameterType="com.community.huiju.model.TpTransactionLike" >
|
27
|
|
- insert into tp_transaction_like (id, community_id, ta_user_id,
|
|
27
|
+ insert into tp_transaction_like (id, community_id, ta_user_verify_id,
|
28
|
28
|
transaction_id, like_status, create_date,
|
29
|
29
|
update_date)
|
30
|
|
- values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{taUserId,jdbcType=INTEGER},
|
|
30
|
+ values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{taUserVerifyId,jdbcType=INTEGER},
|
31
|
31
|
#{transactionId,jdbcType=INTEGER}, #{likeStatus,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
|
32
|
32
|
#{updateDate,jdbcType=TIMESTAMP})
|
33
|
33
|
</insert>
|
|
@@ -40,8 +40,8 @@
|
40
|
40
|
<if test="communityId != null" >
|
41
|
41
|
community_id,
|
42
|
42
|
</if>
|
43
|
|
- <if test="taUserId != null" >
|
44
|
|
- ta_user_id,
|
|
43
|
+ <if test="taUserVerifyId != null" >
|
|
44
|
+ ta_user_verify_id,
|
45
|
45
|
</if>
|
46
|
46
|
<if test="transactionId != null" >
|
47
|
47
|
transaction_id,
|
|
@@ -63,8 +63,8 @@
|
63
|
63
|
<if test="communityId != null" >
|
64
|
64
|
#{communityId,jdbcType=INTEGER},
|
65
|
65
|
</if>
|
66
|
|
- <if test="taUserId != null" >
|
67
|
|
- #{taUserId,jdbcType=INTEGER},
|
|
66
|
+ <if test="taUserVerifyId != null" >
|
|
67
|
+ #{taUserVerifyId,jdbcType=INTEGER},
|
68
|
68
|
</if>
|
69
|
69
|
<if test="transactionId != null" >
|
70
|
70
|
#{transactionId,jdbcType=INTEGER},
|
|
@@ -86,8 +86,8 @@
|
86
|
86
|
<if test="communityId != null" >
|
87
|
87
|
community_id = #{communityId,jdbcType=INTEGER},
|
88
|
88
|
</if>
|
89
|
|
- <if test="taUserId != null" >
|
90
|
|
- ta_user_id = #{taUserId,jdbcType=INTEGER},
|
|
89
|
+ <if test="taUserVerifyId != null" >
|
|
90
|
+ ta_user_verify_id = #{taUserVerifyId,jdbcType=INTEGER},
|
91
|
91
|
</if>
|
92
|
92
|
<if test="transactionId != null" >
|
93
|
93
|
transaction_id = #{transactionId,jdbcType=INTEGER},
|
|
@@ -107,7 +107,7 @@
|
107
|
107
|
<update id="updateByPrimaryKey" parameterType="com.community.huiju.model.TpTransactionLike" >
|
108
|
108
|
update tp_transaction_like
|
109
|
109
|
set community_id = #{communityId,jdbcType=INTEGER},
|
110
|
|
- ta_user_id = #{taUserId,jdbcType=INTEGER},
|
|
110
|
+ ta_user_verify_id = #{taUserVerifyId,jdbcType=INTEGER},
|
111
|
111
|
transaction_id = #{transactionId,jdbcType=INTEGER},
|
112
|
112
|
like_status = #{likeStatus,jdbcType=VARCHAR},
|
113
|
113
|
create_date = #{createDate,jdbcType=TIMESTAMP},
|