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 @@
<result column="reserve_man" jdbcType="VARCHAR" property="reserveMan"/>
<result column="reserve_man_phone" jdbcType="VARCHAR" property="reserveManPhone"/>
<result column="quote_last_time" jdbcType="TIMESTAMP" property="quoteLastTime"/>
<result column="service_code" jdbcType="VARCHAR" property="serviceCode"/>
</resultMap>
<sql id="Example_Where_Clause">
<where>
......@@ -103,7 +104,7 @@
complete_time,install_remark,install_device_type,reserve_install_time,
work_order_no, channel,
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>
<select id="selectByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultMap="BaseResultMap">
select
......@@ -147,7 +148,8 @@
overdue_reason, repair_type, car_picture,
vin_no_picture, install_location_picture, complete_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},
#{orderType,jdbcType=TINYINT}, #{shopId,jdbcType=INTEGER}, #{district,jdbcType=INTEGER},
......@@ -164,7 +166,8 @@
#{completeTime,jdbcType=TIMESTAMP},
#{installRemark,jdbcType=VARCHAR}, #{installDeviceType,jdbcType=VARCHAR},
#{reserveInstallTime,jdbcType=TIMESTAMP},
#{workOrderNo,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{merchantName,jdbcType=VARCHAR}
#{workOrderNo,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{merchantName,jdbcType=VARCHAR},
#{serviceCode}
)
</insert>
<insert id="insertSelective" parameterType="com.glsx.ordercenter.pojo.SysOrder">
......@@ -311,6 +314,9 @@
<if test="referencePrice != null">
reference_price,
</if>
<if test="serviceCode != null">
service_code,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderSn != null">
......@@ -451,6 +457,9 @@
<if test="referencePrice != null">
#{referencePrice},
</if>
<if test="serviceCode != null">
#{serviceCode},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.glsx.ordercenter.pojo.SysOrderExample" resultType="java.lang.Long">
......@@ -624,6 +633,9 @@
<if test="checkInAddress != null">
check_in_address = #{checkInAddress},
</if>
<if test="serviceCode != null">
service_code = #{serviceCode},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
......@@ -670,7 +682,8 @@
reserve_install_time = #{reserveInstallTime,jdbcType=TIMESTAMP},
work_order_no = #{workOrderNo,jdbcType=VARCHAR},
channel = #{channel,jdbcType=VARCHAR},
merchant_name = #{merchantName,jdbcType=VARCHAR}
merchant_name = #{merchantName,jdbcType=VARCHAR},
service_code = #{serviceCode}
where id = #{id,jdbcType=INTEGER}
</update>
<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!