|
@@ -25,12 +25,13 @@
|
25
|
25
|
<result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
|
26
|
26
|
<result column="update_user" property="updateUser" jdbcType="INTEGER" />
|
27
|
27
|
<result column="update_date" property="updateDate" jdbcType="TIMESTAMP" />
|
|
28
|
+ <result column="ta_user_verify_id" property="taUserVerifyId" javaType="INTEGER"/>
|
28
|
29
|
</resultMap>
|
29
|
30
|
<sql id="Base_Column_List" >
|
30
|
31
|
id, community_id, id_card, phase_id, phase_name, building_id, building_name, unit_id,
|
31
|
32
|
unit_name, level_id, level_name, room_no_id, room_no_name, owner_name, owner_tel,
|
32
|
33
|
gender, pair_status, verify_status, sort, create_user, create_date, update_user,
|
33
|
|
- update_date
|
|
34
|
+ update_date, ta_user_verify_id
|
34
|
35
|
</sql>
|
35
|
36
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
36
|
37
|
select
|
|
@@ -50,7 +51,7 @@
|
50
|
51
|
room_no_name, owner_name, owner_tel,
|
51
|
52
|
gender, pair_status, verify_status,
|
52
|
53
|
sort, create_user, create_date,
|
53
|
|
- update_user, update_date)
|
|
54
|
+ update_user, update_date, ta_user_verify_id)
|
54
|
55
|
values (#{id,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER}, #{idCard,jdbcType=VARCHAR},
|
55
|
56
|
#{phaseId,jdbcType=INTEGER}, #{phaseName,jdbcType=VARCHAR}, #{buildingId,jdbcType=INTEGER},
|
56
|
57
|
#{buildingName,jdbcType=VARCHAR}, #{unitId,jdbcType=INTEGER}, #{unitName,jdbcType=VARCHAR},
|
|
@@ -58,7 +59,7 @@
|
58
|
59
|
#{roomNoName,jdbcType=VARCHAR}, #{ownerName,jdbcType=VARCHAR}, #{ownerTel,jdbcType=VARCHAR},
|
59
|
60
|
#{gender,jdbcType=CHAR}, #{pairStatus,jdbcType=CHAR}, #{verifyStatus,jdbcType=CHAR},
|
60
|
61
|
#{sort,jdbcType=VARCHAR}, #{createUser,jdbcType=INTEGER}, #{createDate,jdbcType=TIMESTAMP},
|
61
|
|
- #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP})
|
|
62
|
+ #{updateUser,jdbcType=INTEGER}, #{updateDate,jdbcType=TIMESTAMP}, #{taUserVerifyId,jdbcType=INTEGER})
|
62
|
63
|
</insert>
|
63
|
64
|
<insert id="insertSelective" parameterType="com.community.huiju.model.TpBuildingOwnerInfo" keyProperty="id" useGeneratedKeys="true" >
|
64
|
65
|
insert into tp_building_owner_info
|
|
@@ -132,6 +133,9 @@
|
132
|
133
|
<if test="updateDate != null" >
|
133
|
134
|
update_date,
|
134
|
135
|
</if>
|
|
136
|
+ <if test="ta_user_verify_id != null">
|
|
137
|
+ ta_user_verify_id,
|
|
138
|
+ </if>
|
135
|
139
|
</trim>
|
136
|
140
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
137
|
141
|
<if test="id != null" >
|
|
@@ -203,6 +207,9 @@
|
203
|
207
|
<if test="updateDate != null" >
|
204
|
208
|
#{updateDate,jdbcType=TIMESTAMP},
|
205
|
209
|
</if>
|
|
210
|
+ <if test="taUserVerifyId != null">
|
|
211
|
+ #{taUserVerifyId,jdbcType=INTEGER},
|
|
212
|
+ </if>
|
206
|
213
|
</trim>
|
207
|
214
|
</insert>
|
208
|
215
|
<update id="updateByPrimaryKeySelective" parameterType="com.community.huiju.model.TpBuildingOwnerInfo" >
|
|
@@ -274,6 +281,9 @@
|
274
|
281
|
<if test="updateDate != null" >
|
275
|
282
|
update_date = #{updateDate,jdbcType=TIMESTAMP},
|
276
|
283
|
</if>
|
|
284
|
+ <if test="taUserVerifyId != null">
|
|
285
|
+ ta_user_verify_id = #{taUserVerifyId,jdbcType=INTEGER},
|
|
286
|
+ </if>
|
277
|
287
|
</set>
|
278
|
288
|
where id = #{id,jdbcType=INTEGER}
|
279
|
289
|
</update>
|
|
@@ -300,7 +310,8 @@
|
300
|
310
|
create_user = #{createUser,jdbcType=INTEGER},
|
301
|
311
|
create_date = #{createDate,jdbcType=TIMESTAMP},
|
302
|
312
|
update_user = #{updateUser,jdbcType=INTEGER},
|
303
|
|
- update_date = #{updateDate,jdbcType=TIMESTAMP}
|
|
313
|
+ update_date = #{updateDate,jdbcType=TIMESTAMP},
|
|
314
|
+ ta_user_verify_id = #{taUserVerifyId,jdbcType=INTEGER}
|
304
|
315
|
where id = #{id,jdbcType=INTEGER}
|
305
|
316
|
</update>
|
306
|
317
|
<update id="updatOwnerTel" parameterType="com.community.huiju.model.TpBuildingOwnerInfo" >
|