Commit 10e2257f by zhanghj

V1.5.0--e盾同步给包活干(新增,编辑,取消)接口更改

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24271 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 19587442
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
<result column="reserve_man" jdbcType="VARCHAR" property="reserveMan"/> <result column="reserve_man" jdbcType="VARCHAR" property="reserveMan"/>
<result column="reserve_man_phone" jdbcType="VARCHAR" property="reserveManPhone"/> <result column="reserve_man_phone" jdbcType="VARCHAR" property="reserveManPhone"/>
<result column="quote_last_time" jdbcType="TIMESTAMP" property="quoteLastTime"/> <result column="quote_last_time" jdbcType="TIMESTAMP" property="quoteLastTime"/>
<result column="service_code" jdbcType="VARCHAR" property="serviceCode"/>
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<where> <where>
...@@ -103,7 +104,7 @@ ...@@ -103,7 +104,7 @@
complete_time,install_remark,install_device_type,reserve_install_time, complete_time,install_remark,install_device_type,reserve_install_time,
work_order_no, channel, work_order_no, channel,
merchant_name,reserve_install_reason,connect_location_picture,surrounding_picture,is_check_in, merchant_name,reserve_install_reason,connect_location_picture,surrounding_picture,is_check_in,
check_in_time,reserve_man,reserve_man_phone,quote_last_time check_in_time,reserve_man,reserve_man_phone,quote_last_time,service_code
</sql> </sql>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select select
...@@ -147,7 +148,8 @@ ...@@ -147,7 +148,8 @@
overdue_reason, repair_type, car_picture, overdue_reason, repair_type, car_picture,
vin_no_picture, install_location_picture, complete_time, vin_no_picture, install_location_picture, complete_time,
install_remark, install_device_type, reserve_install_time, install_remark, install_device_type, reserve_install_time,
work_order_no, channel, merchant_name work_order_no, channel, merchant_name,
service_code
) )
values (#{orderSn,jdbcType=VARCHAR}, #{activeStatus,jdbcType=TINYINT}, #{canceled,jdbcType=TINYINT}, values (#{orderSn,jdbcType=VARCHAR}, #{activeStatus,jdbcType=TINYINT}, #{canceled,jdbcType=TINYINT},
#{orderType,jdbcType=TINYINT}, #{shopId,jdbcType=INTEGER}, #{district,jdbcType=INTEGER}, #{orderType,jdbcType=TINYINT}, #{shopId,jdbcType=INTEGER}, #{district,jdbcType=INTEGER},
...@@ -164,7 +166,8 @@ ...@@ -164,7 +166,8 @@
#{completeTime,jdbcType=TIMESTAMP}, #{completeTime,jdbcType=TIMESTAMP},
#{installRemark,jdbcType=VARCHAR}, #{installDeviceType,jdbcType=VARCHAR}, #{installRemark,jdbcType=VARCHAR}, #{installDeviceType,jdbcType=VARCHAR},
#{reserveInstallTime,jdbcType=TIMESTAMP}, #{reserveInstallTime,jdbcType=TIMESTAMP},
#{workOrderNo,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{merchantName,jdbcType=VARCHAR} #{workOrderNo,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{merchantName,jdbcType=VARCHAR},
#{serviceCode}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="com.glsx.ordercenter.pojo.SysOrder"> <insert id="insertSelective" parameterType="com.glsx.ordercenter.pojo.SysOrder">
...@@ -311,6 +314,9 @@ ...@@ -311,6 +314,9 @@
<if test="referencePrice != null"> <if test="referencePrice != null">
reference_price, reference_price,
</if> </if>
<if test="serviceCode != null">
service_code,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderSn != null"> <if test="orderSn != null">
...@@ -451,6 +457,9 @@ ...@@ -451,6 +457,9 @@
<if test="referencePrice != null"> <if test="referencePrice != null">
#{referencePrice}, #{referencePrice},
</if> </if>
<if test="serviceCode != null">
#{serviceCode},
</if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultType="java.lang.Long">
...@@ -624,6 +633,9 @@ ...@@ -624,6 +633,9 @@
<if test="checkInAddress != null"> <if test="checkInAddress != null">
check_in_address = #{checkInAddress}, check_in_address = #{checkInAddress},
</if> </if>
<if test="serviceCode != null">
service_code = #{serviceCode},
</if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
...@@ -670,7 +682,8 @@ ...@@ -670,7 +682,8 @@
reserve_install_time = #{reserveInstallTime,jdbcType=TIMESTAMP}, reserve_install_time = #{reserveInstallTime,jdbcType=TIMESTAMP},
work_order_no = #{workOrderNo,jdbcType=VARCHAR}, work_order_no = #{workOrderNo,jdbcType=VARCHAR},
channel = #{channel,jdbcType=VARCHAR}, channel = #{channel,jdbcType=VARCHAR},
merchant_name = #{merchantName,jdbcType=VARCHAR} merchant_name = #{merchantName,jdbcType=VARCHAR},
service_code = #{serviceCode}
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
<resultMap id="OrderDetailResultMap" type="com.glsx.ordercenter.dto.QueryOrderResp" <resultMap id="OrderDetailResultMap" type="com.glsx.ordercenter.dto.QueryOrderResp"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!