|
@@ -3,7 +3,7 @@
|
3
|
3
|
<mapper namespace="com.huiju.estateagents.property.dao.TpSocialViewMapper" >
|
4
|
4
|
<resultMap id="BaseResultMap" type="com.huiju.estateagents.property.model.TpSocialView" >
|
5
|
5
|
<id column="id" property="id" jdbcType="INTEGER" />
|
6
|
|
- <result column="community_id" property="communityId" jdbcType="INTEGER" />
|
|
6
|
+ <result column="org_id" property="orgId" jdbcType="INTEGER" />
|
7
|
7
|
<result column="uuid" property="uuid" jdbcType="INTEGER" />
|
8
|
8
|
<result column="social_type" property="socialType" jdbcType="VARCHAR" />
|
9
|
9
|
<result column="ta_user_id" property="taUserId" jdbcType="INTEGER" />
|
|
@@ -11,7 +11,7 @@
|
11
|
11
|
<result column="create_date" property="createDate" jdbcType="TIMESTAMP" />
|
12
|
12
|
</resultMap>
|
13
|
13
|
<sql id="Base_Column_List" >
|
14
|
|
- id, community_id, uuid, social_type, ta_user_id, remark, create_date
|
|
14
|
+ id, org_id, uuid, social_type, ta_user_id, remark, create_date
|
15
|
15
|
</sql>
|
16
|
16
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
17
|
17
|
select
|
|
@@ -37,8 +37,8 @@
|
37
|
37
|
<if test="id != null" >
|
38
|
38
|
id,
|
39
|
39
|
</if>
|
40
|
|
- <if test="communityId != null" >
|
41
|
|
- community_id,
|
|
40
|
+ <if test="orgId != null" >
|
|
41
|
+ org_id,
|
42
|
42
|
</if>
|
43
|
43
|
<if test="uuid != null" >
|
44
|
44
|
uuid,
|
|
@@ -60,8 +60,8 @@
|
60
|
60
|
<if test="id != null" >
|
61
|
61
|
#{id,jdbcType=INTEGER},
|
62
|
62
|
</if>
|
63
|
|
- <if test="communityId != null" >
|
64
|
|
- #{communityId,jdbcType=INTEGER},
|
|
63
|
+ <if test="orgId != null" >
|
|
64
|
+ #{orgId,jdbcType=INTEGER},
|
65
|
65
|
</if>
|
66
|
66
|
<if test="uuid != null" >
|
67
|
67
|
#{uuid,jdbcType=INTEGER},
|
|
@@ -122,7 +122,7 @@
|
122
|
122
|
and ta_user_id = #{taUserId}
|
123
|
123
|
</if>
|
124
|
124
|
and uuid = #{uuid}
|
125
|
|
- and community_id = #{communityId}
|
|
125
|
+ and org_id = #{orgId}
|
126
|
126
|
and social_type = #{socialType}
|
127
|
127
|
</select>
|
128
|
128
|
</mapper>
|