|
|
@@ -25,14 +25,10 @@
|
|
|
<result column="head_portrait_url" jdbcType="VARCHAR" property="headPortraitUrl" />
|
|
|
<result column="society_tag" jdbcType="VARCHAR" property="societyTag" />
|
|
|
<result column="introduction" jdbcType="VARCHAR" property="introduction" />
|
|
|
- <result column="last_member_order_id" jdbcType="VARCHAR" property="lastMemberOrderId" />
|
|
|
- <result column="current_member_status" jdbcType="INTEGER" property="currentMemberStatus" />
|
|
|
<result column="value_added_tag" jdbcType="VARCHAR" property="valueAddedTag" />
|
|
|
<result column="organization_id" jdbcType="VARCHAR" property="organizationId" />
|
|
|
<result column="share_type" jdbcType="INTEGER" property="shareType" />
|
|
|
<result column="identify_name" jdbcType="VARCHAR" property="identifyName" />
|
|
|
- <result column="is_member" jdbcType="INTEGER" property="isMember" />
|
|
|
- <result column="business_audit" jdbcType="INTEGER" property="businessAudit" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
@@ -110,8 +106,7 @@
|
|
|
-->
|
|
|
id, mobile, password, nickname, email, create_time, number, lvl, type, aid, mid,
|
|
|
status, source, update_time, company_logo_url, head_portrait_url, society_tag, introduction,
|
|
|
- last_member_order_id, current_member_status, value_added_tag, organization_id, share_type,
|
|
|
- identify_name, is_member, business_audit
|
|
|
+ value_added_tag, organization_id, share_type,identify_name
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.goafanti.common.model.UserExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
@@ -174,19 +169,17 @@
|
|
|
number, lvl, type, aid,
|
|
|
mid, status, source,
|
|
|
update_time, company_logo_url, head_portrait_url,
|
|
|
- society_tag, introduction, last_member_order_id,
|
|
|
- current_member_status, value_added_tag, organization_id,
|
|
|
- share_type, identify_name, is_member,
|
|
|
- business_audit,audit_status)
|
|
|
+ society_tag, introduction, value_added_tag,
|
|
|
+ organization_id,share_type, identify_name,
|
|
|
+ audit_status)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
|
|
|
#{nickname,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{number,jdbcType=BIGINT}, #{lvl,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
|
|
|
- #{mid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{source,jdbcType=INTEGER},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP}, #{companyLogoUrl,jdbcType=VARCHAR}, #{headPortraitUrl,jdbcType=VARCHAR},
|
|
|
- #{societyTag,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR}, #{lastMemberOrderId,jdbcType=VARCHAR},
|
|
|
- #{currentMemberStatus,jdbcType=INTEGER}, #{valueAddedTag,jdbcType=VARCHAR}, #{organizationId,jdbcType=VARCHAR},
|
|
|
- #{shareType,jdbcType=INTEGER}, #{identifyName,jdbcType=VARCHAR}, #{isMember,jdbcType=INTEGER},
|
|
|
- #{businessAudit,jdbcType=INTEGER},#{auditStatus,jdbcType=VARCHAR})
|
|
|
+ #{number,jdbcType=BIGINT}, #{lvl,jdbcType=INTEGER}, #{type,jdbcType=INTEGER},#{aid,jdbcType=VARCHAR},
|
|
|
+ #{mid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},#{source,jdbcType=INTEGER},
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP}, #{companyLogoUrl,jdbcType=VARCHAR},#{headPortraitUrl,jdbcType=VARCHAR},
|
|
|
+ #{societyTag,jdbcType=VARCHAR}, #{introduction,jdbcType=VARCHAR},#{valueAddedTag,jdbcType=VARCHAR},
|
|
|
+ #{organizationId,jdbcType=VARCHAR},#{shareType,jdbcType=INTEGER},#{identifyName,jdbcType=VARCHAR},
|
|
|
+ #{auditStatus,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.User">
|
|
|
<!--
|
|
|
@@ -250,12 +243,8 @@
|
|
|
<if test="introduction != null">
|
|
|
introduction,
|
|
|
</if>
|
|
|
- <if test="lastMemberOrderId != null">
|
|
|
- last_member_order_id,
|
|
|
- </if>
|
|
|
- <if test="currentMemberStatus != null">
|
|
|
- current_member_status,
|
|
|
- </if>
|
|
|
+
|
|
|
+
|
|
|
<if test="valueAddedTag != null">
|
|
|
value_added_tag,
|
|
|
</if>
|
|
|
@@ -268,12 +257,7 @@
|
|
|
<if test="identifyName != null">
|
|
|
identify_name,
|
|
|
</if>
|
|
|
- <if test="isMember != null">
|
|
|
- is_member,
|
|
|
- </if>
|
|
|
- <if test="businessAudit != null">
|
|
|
- business_audit,
|
|
|
- </if>
|
|
|
+
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
|
@@ -429,12 +413,8 @@
|
|
|
<if test="record.introduction != null">
|
|
|
introduction = #{record.introduction,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.lastMemberOrderId != null">
|
|
|
- last_member_order_id = #{record.lastMemberOrderId,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="record.currentMemberStatus != null">
|
|
|
- current_member_status = #{record.currentMemberStatus,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
+
|
|
|
+
|
|
|
<if test="record.valueAddedTag != null">
|
|
|
value_added_tag = #{record.valueAddedTag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -447,12 +427,8 @@
|
|
|
<if test="record.identifyName != null">
|
|
|
identify_name = #{record.identifyName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.isMember != null">
|
|
|
- is_member = #{record.isMember,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="record.businessAudit != null">
|
|
|
- business_audit = #{record.businessAudit,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
+
|
|
|
+
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -483,14 +459,12 @@
|
|
|
head_portrait_url = #{record.headPortraitUrl,jdbcType=VARCHAR},
|
|
|
society_tag = #{record.societyTag,jdbcType=VARCHAR},
|
|
|
introduction = #{record.introduction,jdbcType=VARCHAR},
|
|
|
- last_member_order_id = #{record.lastMemberOrderId,jdbcType=VARCHAR},
|
|
|
- current_member_status = #{record.currentMemberStatus,jdbcType=INTEGER},
|
|
|
+
|
|
|
value_added_tag = #{record.valueAddedTag,jdbcType=VARCHAR},
|
|
|
organization_id = #{record.organizationId,jdbcType=VARCHAR},
|
|
|
share_type = #{record.shareType,jdbcType=INTEGER},
|
|
|
- identify_name = #{record.identifyName,jdbcType=VARCHAR},
|
|
|
- is_member = #{record.isMember,jdbcType=INTEGER},
|
|
|
- business_audit = #{record.businessAudit,jdbcType=INTEGER}
|
|
|
+ identify_name = #{record.identifyName,jdbcType=VARCHAR}
|
|
|
+
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -554,12 +528,7 @@
|
|
|
<if test="introduction != null">
|
|
|
introduction = #{introduction,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="lastMemberOrderId != null">
|
|
|
- last_member_order_id = #{lastMemberOrderId,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
- <if test="currentMemberStatus != null">
|
|
|
- current_member_status = #{currentMemberStatus,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
+
|
|
|
<if test="valueAddedTag != null">
|
|
|
value_added_tag = #{valueAddedTag,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -572,12 +541,7 @@
|
|
|
<if test="identifyName != null">
|
|
|
identify_name = #{identifyName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="isMember != null">
|
|
|
- is_member = #{isMember,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
- <if test="businessAudit != null">
|
|
|
- business_audit = #{businessAudit,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
+
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -605,14 +569,10 @@
|
|
|
head_portrait_url = #{headPortraitUrl,jdbcType=VARCHAR},
|
|
|
society_tag = #{societyTag,jdbcType=VARCHAR},
|
|
|
introduction = #{introduction,jdbcType=VARCHAR},
|
|
|
- last_member_order_id = #{lastMemberOrderId,jdbcType=VARCHAR},
|
|
|
- current_member_status = #{currentMemberStatus,jdbcType=INTEGER},
|
|
|
value_added_tag = #{valueAddedTag,jdbcType=VARCHAR},
|
|
|
organization_id = #{organizationId,jdbcType=VARCHAR},
|
|
|
share_type = #{shareType,jdbcType=INTEGER},
|
|
|
- identify_name = #{identifyName,jdbcType=VARCHAR},
|
|
|
- is_member = #{isMember,jdbcType=INTEGER},
|
|
|
- business_audit = #{businessAudit,jdbcType=INTEGER}
|
|
|
+ identify_name = #{identifyName,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|
|
|
@@ -1437,8 +1397,7 @@
|
|
|
a.type,
|
|
|
a.company_logo_url as companyLogoUrl,
|
|
|
a.head_portrait_url as headPortraitUrl,
|
|
|
- a.introduction,
|
|
|
- a.is_member as isMember,
|
|
|
+ a.introduction,
|
|
|
b.registration_id as registrationId,
|
|
|
b.easemob_name as easemobName,
|
|
|
b.easemob_pass as easemobPass
|