|
|
@@ -15,7 +15,7 @@
|
|
|
<result column="email" jdbcType="VARCHAR" property="email" />
|
|
|
<result column="qq" jdbcType="VARCHAR" property="qq" />
|
|
|
<result column="wechat" jdbcType="VARCHAR" property="wechat" />
|
|
|
- <result column="depatrment" jdbcType="VARCHAR" property="depatrment" />
|
|
|
+ <result column="department" jdbcType="VARCHAR" property="department" />
|
|
|
<result column="position" jdbcType="VARCHAR" property="position" />
|
|
|
<result column="tel_num" jdbcType="VARCHAR" property="telNum" />
|
|
|
<result column="major" jdbcType="INTEGER" property="major" />
|
|
|
@@ -95,7 +95,7 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
This element was generated on Sun Nov 19 20:34:03 CST 2017.
|
|
|
-->
|
|
|
- id, uid, name, sex, mobile, email, qq, wechat, depatrment, position, tel_num, major,
|
|
|
+ id, uid, name, sex, mobile, email, qq, wechat, department, position, tel_num, major,
|
|
|
aid
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.goafanti.common.model.OrganizationContactBookExample" resultMap="BaseResultMap">
|
|
|
@@ -156,11 +156,11 @@
|
|
|
-->
|
|
|
insert into organization_contact_book (id, uid, name,
|
|
|
sex, mobile, email, qq,
|
|
|
- wechat, depatrment, position,
|
|
|
+ wechat, department, position,
|
|
|
tel_num, major, aid)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
|
#{sex,jdbcType=CHAR}, #{mobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR},
|
|
|
- #{wechat,jdbcType=VARCHAR}, #{depatrment,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR},
|
|
|
+ #{wechat,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR},
|
|
|
#{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.OrganizationContactBook">
|
|
|
@@ -195,8 +195,8 @@
|
|
|
<if test="wechat != null">
|
|
|
wechat,
|
|
|
</if>
|
|
|
- <if test="depatrment != null">
|
|
|
- depatrment,
|
|
|
+ <if test="department != null">
|
|
|
+ department,
|
|
|
</if>
|
|
|
<if test="position != null">
|
|
|
position,
|
|
|
@@ -236,8 +236,8 @@
|
|
|
<if test="wechat != null">
|
|
|
#{wechat,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="depatrment != null">
|
|
|
- #{depatrment,jdbcType=VARCHAR},
|
|
|
+ <if test="department != null">
|
|
|
+ #{department,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="position != null">
|
|
|
#{position,jdbcType=VARCHAR},
|
|
|
@@ -296,8 +296,8 @@
|
|
|
<if test="record.wechat != null">
|
|
|
wechat = #{record.wechat,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.depatrment != null">
|
|
|
- depatrment = #{record.depatrment,jdbcType=VARCHAR},
|
|
|
+ <if test="record.department != null">
|
|
|
+ department = #{record.department,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="record.position != null">
|
|
|
position = #{record.position,jdbcType=VARCHAR},
|
|
|
@@ -331,7 +331,7 @@
|
|
|
email = #{record.email,jdbcType=VARCHAR},
|
|
|
qq = #{record.qq,jdbcType=VARCHAR},
|
|
|
wechat = #{record.wechat,jdbcType=VARCHAR},
|
|
|
- depatrment = #{record.depatrment,jdbcType=VARCHAR},
|
|
|
+ department = #{record.department,jdbcType=VARCHAR},
|
|
|
position = #{record.position,jdbcType=VARCHAR},
|
|
|
tel_num = #{record.telNum,jdbcType=VARCHAR},
|
|
|
major = #{record.major,jdbcType=INTEGER},
|
|
|
@@ -369,9 +369,7 @@
|
|
|
<if test="wechat != null">
|
|
|
wechat = #{wechat,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="depatrment != null">
|
|
|
- depatrment = #{depatrment,jdbcType=VARCHAR},
|
|
|
- </if>
|
|
|
+ <if test="department != null">department</if>
|
|
|
<if test="position != null">
|
|
|
position = #{position,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -401,7 +399,7 @@
|
|
|
email = #{email,jdbcType=VARCHAR},
|
|
|
qq = #{qq,jdbcType=VARCHAR},
|
|
|
wechat = #{wechat,jdbcType=VARCHAR},
|
|
|
- depatrment = #{depatrment,jdbcType=VARCHAR},
|
|
|
+ department = #{department,jdbcType=VARCHAR},
|
|
|
position = #{position,jdbcType=VARCHAR},
|
|
|
tel_num = #{telNum,jdbcType=VARCHAR},
|
|
|
major = #{major,jdbcType=INTEGER},
|