Commit 5f50f7ab by zhanghj

V1.0.0--修改部分用户相关的create_by,update_by为整数类型

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@19445 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 3ec668da
......@@ -8,9 +8,9 @@
<result column="org_id" jdbcType="INTEGER" property="orgId"/>
<result column="phone_number" jdbcType="VARCHAR" property="phoneNumber"/>
<result column="user_status" jdbcType="VARCHAR" property="userStatus"/>
<result column="create_by" jdbcType="VARCHAR" property="createBy"/>
<result column="create_by" jdbcType="INTEGER" property="createBy"/>
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/>
<result column="update_by" jdbcType="INTEGER" property="updateBy"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="password" jdbcType="VARCHAR" property="password"/>
<result column="sex" jdbcType="VARCHAR" property="sex"/>
......@@ -124,8 +124,8 @@
password, sex,
remark)
values (#{username,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER},
#{phoneNumber,jdbcType=VARCHAR}, #{userStatus,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{phoneNumber,jdbcType=VARCHAR}, #{userStatus,jdbcType=VARCHAR}, #{createBy},
#{createTime,jdbcType=TIMESTAMP}, #{updateBy}, #{updateTime,jdbcType=TIMESTAMP},
#{password,jdbcType=VARCHAR}, #{sex,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR})
</insert>
......@@ -207,7 +207,7 @@
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR},
#{updateBy},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
......@@ -397,13 +397,13 @@
user_status = #{record.userStatus,jdbcType=VARCHAR},
</if>
<if test="record.createBy != null">
create_by = #{record.createBy,jdbcType=VARCHAR},
create_by = #{record.createBy},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateBy != null">
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_by = #{record.updateBy},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
......@@ -430,9 +430,9 @@
org_id = #{record.orgId,jdbcType=INTEGER},
phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
user_status = #{record.userStatus,jdbcType=VARCHAR},
create_by = #{record.createBy,jdbcType=VARCHAR},
create_by = #{record.createBy},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_by = #{record.updateBy,jdbcType=VARCHAR},
update_by = #{record.updateBy},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
password = #{record.password,jdbcType=VARCHAR},
sex = #{record.sex,jdbcType=VARCHAR},
......@@ -461,13 +461,13 @@
user_status = #{userStatus,jdbcType=VARCHAR},
</if>
<if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR},
create_by = #{createBy},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR},
update_by = #{updateBy},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
......@@ -567,9 +567,9 @@
org_id = #{orgId,jdbcType=INTEGER},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
user_status = #{userStatus,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
create_by = #{createBy},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
update_by = #{updateBy},
update_time = #{updateTime,jdbcType=TIMESTAMP},
password = #{password,jdbcType=VARCHAR},
sex = #{sex,jdbcType=VARCHAR},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!