Commit 784386b7 by zhanghj

V1.0.0--修改部分字典数据,字典管理,操作日志相关的create_by,update_by为整数类型

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@19452 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 1153dec7
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<result column="data_status" jdbcType="INTEGER" property="dataStatus" /> <result column="data_status" jdbcType="INTEGER" property="dataStatus" />
<result column="sort" jdbcType="INTEGER" property="sort" /> <result column="sort" jdbcType="INTEGER" property="sort" />
<result column="remark" jdbcType="VARCHAR" property="remark" /> <result column="remark" jdbcType="VARCHAR" property="remark" />
<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="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="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap> </resultMap>
...@@ -124,13 +124,13 @@ ...@@ -124,13 +124,13 @@
#{remark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
#{createBy,jdbcType=VARCHAR}, #{createBy},
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR}, #{updateBy},
</if> </if>
<if test="updateTime != null"> <if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
data_status = #{dataStatus,jdbcType=TINYINT}, data_status = #{dataStatus,jdbcType=TINYINT},
sort = #{sort}, sort = #{sort},
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy},
update_time = #{updateTime,jdbcType=TIMESTAMP} update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<result column="dict_type" jdbcType="VARCHAR" property="dictType"/> <result column="dict_type" jdbcType="VARCHAR" property="dictType"/>
<result column="dict_status" jdbcType="TINYINT" property="dictStatus"/> <result column="dict_status" jdbcType="TINYINT" property="dictStatus"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/> <result column="remark" jdbcType="VARCHAR" property="remark"/>
<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="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="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
</resultMap> </resultMap>
...@@ -89,13 +89,13 @@ ...@@ -89,13 +89,13 @@
#{remark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
#{createBy,jdbcType=VARCHAR}, #{createBy},
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR}, #{updateBy},
</if> </if>
<if test="updateTime != null"> <if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
dict_type = #{dictType,jdbcType=VARCHAR}, dict_type = #{dictType,jdbcType=VARCHAR},
dict_status = #{dictStatus,jdbcType=TINYINT}, dict_status = #{dictStatus,jdbcType=TINYINT},
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy},
update_time = #{updateTime,jdbcType=TIMESTAMP} update_time = #{updateTime,jdbcType=TIMESTAMP}
WHERE id = #{id,jdbcType=INTEGER} WHERE id = #{id,jdbcType=INTEGER}
</update> </update>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!