|
|
@@ -5,7 +5,7 @@
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="third_staff_id" jdbcType="BIGINT" property="thirdStaffId" />
|
|
|
<result column="add_customer_time" jdbcType="BIGINT" property="addCustomerTime" />
|
|
|
- <result column="remove_custiomer_time" jdbcType="BIGINT" property="removeCustiomerTime" />
|
|
|
+ <result column="remove_customer_time" jdbcType="BIGINT" property="removeCustomerTime" />
|
|
|
<result column="unionid" jdbcType="VARCHAR" property="unionid" />
|
|
|
<result column="sex" jdbcType="INTEGER" property="sex" />
|
|
|
<result column="mobile" jdbcType="VARCHAR" property="mobile" />
|
|
|
@@ -87,7 +87,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, third_staff_id, add_customer_time, remove_custiomer_time, unionid, sex, mobile,
|
|
|
+ id, third_staff_id, add_customer_time, remove_customer_time, unionid, sex, mobile,
|
|
|
company_remark, acctid, avatar, `source`, english_name, remark_phone, realname, real_remarks,
|
|
|
labelid, user_id, nickname, `position`, corp_id, remarks, seq, `status`, create_time,
|
|
|
update_time
|
|
|
@@ -127,7 +127,7 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComStaffUser">
|
|
|
insert into third_part_we_com_staff_user (id, third_staff_id, add_customer_time,
|
|
|
- remove_custiomer_time, unionid, sex,
|
|
|
+ remove_customer_time, unionid, sex,
|
|
|
mobile, company_remark, acctid,
|
|
|
avatar, `source`, english_name,
|
|
|
remark_phone, realname, real_remarks,
|
|
|
@@ -136,7 +136,7 @@
|
|
|
seq, `status`, create_time,
|
|
|
update_time)
|
|
|
values (#{id,jdbcType=BIGINT}, #{thirdStaffId,jdbcType=BIGINT}, #{addCustomerTime,jdbcType=BIGINT},
|
|
|
- #{removeCustiomerTime,jdbcType=BIGINT}, #{unionid,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER},
|
|
|
+ #{removeCustomerTime,jdbcType=BIGINT}, #{unionid,jdbcType=VARCHAR}, #{sex,jdbcType=INTEGER},
|
|
|
#{mobile,jdbcType=VARCHAR}, #{companyRemark,jdbcType=VARCHAR}, #{acctid,jdbcType=VARCHAR},
|
|
|
#{avatar,jdbcType=VARCHAR}, #{source,jdbcType=INTEGER}, #{englishName,jdbcType=VARCHAR},
|
|
|
#{remarkPhone,jdbcType=VARCHAR}, #{realname,jdbcType=VARCHAR}, #{realRemarks,jdbcType=VARCHAR},
|
|
|
@@ -157,8 +157,8 @@
|
|
|
<if test="addCustomerTime != null">
|
|
|
add_customer_time,
|
|
|
</if>
|
|
|
- <if test="removeCustiomerTime != null">
|
|
|
- remove_custiomer_time,
|
|
|
+ <if test="removeCustomerTime != null">
|
|
|
+ remove_customer_time,
|
|
|
</if>
|
|
|
<if test="unionid != null">
|
|
|
unionid,
|
|
|
@@ -234,8 +234,8 @@
|
|
|
<if test="addCustomerTime != null">
|
|
|
#{addCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="removeCustiomerTime != null">
|
|
|
- #{removeCustiomerTime,jdbcType=BIGINT},
|
|
|
+ <if test="removeCustomerTime != null">
|
|
|
+ #{removeCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="unionid != null">
|
|
|
#{unionid,jdbcType=VARCHAR},
|
|
|
@@ -320,8 +320,8 @@
|
|
|
<if test="record.addCustomerTime != null">
|
|
|
add_customer_time = #{record.addCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="record.removeCustiomerTime != null">
|
|
|
- remove_custiomer_time = #{record.removeCustiomerTime,jdbcType=BIGINT},
|
|
|
+ <if test="record.removeCustomerTime != null">
|
|
|
+ remove_customer_time = #{record.removeCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="record.unionid != null">
|
|
|
unionid = #{record.unionid,jdbcType=VARCHAR},
|
|
|
@@ -396,7 +396,7 @@
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
|
third_staff_id = #{record.thirdStaffId,jdbcType=BIGINT},
|
|
|
add_customer_time = #{record.addCustomerTime,jdbcType=BIGINT},
|
|
|
- remove_custiomer_time = #{record.removeCustiomerTime,jdbcType=BIGINT},
|
|
|
+ remove_customer_time = #{record.removeCustomerTime,jdbcType=BIGINT},
|
|
|
unionid = #{record.unionid,jdbcType=VARCHAR},
|
|
|
sex = #{record.sex,jdbcType=INTEGER},
|
|
|
mobile = #{record.mobile,jdbcType=VARCHAR},
|
|
|
@@ -431,8 +431,8 @@
|
|
|
<if test="addCustomerTime != null">
|
|
|
add_customer_time = #{addCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="removeCustiomerTime != null">
|
|
|
- remove_custiomer_time = #{removeCustiomerTime,jdbcType=BIGINT},
|
|
|
+ <if test="removeCustomerTime != null">
|
|
|
+ remove_customer_time = #{removeCustomerTime,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
<if test="unionid != null">
|
|
|
unionid = #{unionid,jdbcType=VARCHAR},
|
|
|
@@ -504,7 +504,7 @@
|
|
|
update third_part_we_com_staff_user
|
|
|
set third_staff_id = #{thirdStaffId,jdbcType=BIGINT},
|
|
|
add_customer_time = #{addCustomerTime,jdbcType=BIGINT},
|
|
|
- remove_custiomer_time = #{removeCustiomerTime,jdbcType=BIGINT},
|
|
|
+ remove_customer_time = #{removeCustomerTime,jdbcType=BIGINT},
|
|
|
unionid = #{unionid,jdbcType=VARCHAR},
|
|
|
sex = #{sex,jdbcType=INTEGER},
|
|
|
mobile = #{mobile,jdbcType=VARCHAR},
|