Commit 6e58960a by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26665 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 7409c61c
...@@ -9,9 +9,11 @@ ...@@ -9,9 +9,11 @@
<result column="install_location" jdbcType="VARCHAR" property="installLocation" /> <result column="install_location" jdbcType="VARCHAR" property="installLocation" />
<result column="sort" jdbcType="INTEGER" property="sort" /> <result column="sort" jdbcType="INTEGER" property="sort" />
<result column="deviceTypeName" jdbcType="VARCHAR" property="deviceTypeName" /> <result column="deviceTypeName" jdbcType="VARCHAR" property="deviceTypeName" />
<result column="repair_type" jdbcType="TINYINT" property="repairType" />
<result column="old_device_no" jdbcType="VARCHAR" property="oldDeviceNo" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, order_id, device_no, device_type, install_location, sort id, order_id, device_no, device_type, install_location, sort,repair_type,old_device_no
</sql> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select select
...@@ -53,6 +55,12 @@ ...@@ -53,6 +55,12 @@
<if test="sort != null"> <if test="sort != null">
sort, sort,
</if> </if>
<if test="repairType != null">
repair_type,
</if>
<if test="oldDeviceNo != null">
old_device_no,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderId != null"> <if test="orderId != null">
...@@ -70,6 +78,12 @@ ...@@ -70,6 +78,12 @@
<if test="sort != null"> <if test="sort != null">
#{sort,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER},
</if> </if>
<if test="repairType != null">
#{repair_type,jdbcType=TINYINT},
</if>
<if test="oldDeviceNo != null">
#{old_device_no,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.glsx.ordercenter.pojo.SysOrderDevice"> <update id="updateByPrimaryKeySelective" parameterType="com.glsx.ordercenter.pojo.SysOrderDevice">
...@@ -90,6 +104,12 @@ ...@@ -90,6 +104,12 @@
<if test="sort != null"> <if test="sort != null">
sort = #{sort,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER},
</if> </if>
<if test="repairType != null">
#{repair_type,jdbcType=TINYINT},
</if>
<if test="oldDeviceNo != null">
#{old_device_no,jdbcType=VARCHAR},
</if>
</set> </set>
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!