|
@@ -19,11 +19,12 @@
|
19
|
19
|
<result column="role_name" property="roleName" jdbcType="VARCHAR"/>
|
20
|
20
|
<result column="ta_user_verify_id" property="taUserVerifyId" jdbcType="INTEGER"/>
|
21
|
21
|
<result column="release_identity" property="releaseIdentity" jdbcType="VARCHAR"/>
|
|
22
|
+ <result column="room_no_name" property="roomNoName" jdbcType="VARCHAR"/>
|
22
|
23
|
|
23
|
24
|
</resultMap>
|
24
|
25
|
<sql id="Base_Column_List">
|
25
|
26
|
id, community_id, ta_user_id, transaction_title, transaction_content, sort,
|
26
|
|
- view_count, status, type, create_user, create_date, update_user, update_date, ta_user_verify_id, release_identity
|
|
27
|
+ view_count, status, type, create_user, create_date, update_user, update_date, ta_user_verify_id, release_identity,room_no_name
|
27
|
28
|
</sql>
|
28
|
29
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="com.community.huiju.model.TpTransaction">
|
29
|
30
|
SELECT
|
|
@@ -62,12 +63,12 @@
|
62
|
63
|
sort,
|
63
|
64
|
view_count, status,
|
64
|
65
|
type, create_user, create_date,
|
65
|
|
- update_user, update_date)
|
|
66
|
+ update_user, update_date,room_no_name)
|
66
|
67
|
values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER},#{releaseIdentity,jdbcType=VARCHAR},#{taUserVerifyId,jdbcType=INTEGER}, #{taUserId,jdbcType=INTEGER},
|
67
|
68
|
#{transactionTitle,jdbcType=VARCHAR}, #{transactionContent,jdbcType=VARCHAR}, #{sort,jdbcType=VARCHAR},
|
68
|
69
|
#{viewCount,jdbcType=INTEGER}, #{status,jdbcType=CHAR},
|
69
|
70
|
#{type,jdbcType=CHAR}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP},
|
70
|
|
- #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP})
|
|
71
|
+ #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP},#{roomNoName,jdbcType=VARCHAR})
|
71
|
72
|
</insert>
|
72
|
73
|
<insert id="insertSelective" useGeneratedKeys="true" keyProperty="id"
|
73
|
74
|
parameterType="com.community.huiju.model.TpTransaction">
|
|
@@ -119,7 +120,10 @@
|
119
|
120
|
ta_user_verify_id,
|
120
|
121
|
</if>
|
121
|
122
|
<if test="releaseIdentity != null">
|
122
|
|
- release_identity
|
|
123
|
+ release_identity,
|
|
124
|
+ </if>
|
|
125
|
+ <if test="roomNoName != null">
|
|
126
|
+ room_no_name
|
123
|
127
|
</if>
|
124
|
128
|
</trim>
|
125
|
129
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -171,6 +175,9 @@
|
171
|
175
|
<if test="releaseIdentity != null">
|
172
|
176
|
#{releaseIdentity,jdbcType=VARCHAR},
|
173
|
177
|
</if>
|
|
178
|
+ <if test="roomNoName != null">
|
|
179
|
+ #{roomNoName,jdbcType=VARCHAR}
|
|
180
|
+ </if>
|
174
|
181
|
</trim>
|
175
|
182
|
</insert>
|
176
|
183
|
<update id="updateByPrimaryKeySelective" parameterType="com.community.huiju.model.TpTransaction">
|
|
@@ -215,6 +222,10 @@
|
215
|
222
|
<if test="updateDate != null">
|
216
|
223
|
update_date = #{updateDate,jdbcType=TIMESTAMP},
|
217
|
224
|
</if>
|
|
225
|
+ <if test="roomNoName != null">
|
|
226
|
+ room_no_name = #{roomNoName,jdbcType=VARCHAR},
|
|
227
|
+ </if>
|
|
228
|
+
|
218
|
229
|
</set>
|
219
|
230
|
where id = #{id,jdbcType=INTEGER}
|
220
|
231
|
</update>
|
|
@@ -231,7 +242,8 @@
|
231
|
242
|
create_user = #{createUser,jdbcType=INTEGER},
|
232
|
243
|
create_date = #{createDate,jdbcType=TIMESTAMP},
|
233
|
244
|
update_user = #{updateUser,jdbcType=INTEGER},
|
234
|
|
- update_date = #{updateDate,jdbcType=TIMESTAMP}
|
|
245
|
+ update_date = #{updateDate,jdbcType=TIMESTAMP},
|
|
246
|
+ room_no_name = #{roomNoName,jdbcType=VARCHAR}
|
235
|
247
|
where id = #{id,jdbcType=INTEGER}
|
236
|
248
|
</update>
|
237
|
249
|
|