Commit 1e98391e by zhengxj

finish 修正属性 on 20190416 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@19723 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 54728232
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<result column="reserve_install_time" jdbcType="TIMESTAMP" property="reserveInstallTime" /> <result column="reserve_install_time" jdbcType="TIMESTAMP" property="reserveInstallTime" />
<result column="work_order_no" jdbcType="VARCHAR" property="workOrderNo" /> <result column="work_order_no" jdbcType="VARCHAR" property="workOrderNo" />
<result column="channel" jdbcType="VARCHAR" property="channel" /> <result column="channel" jdbcType="VARCHAR" property="channel" />
<result column="merchant_username" jdbcType="VARCHAR" property="merchantUsername" /> <result column="merchant_name" jdbcType="VARCHAR" property="merchantUsername" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
mechanic_id, repair_reason, remark, create_time, update_time, create_by, update_by, device_no, mechanic_id, repair_reason, remark, create_time, update_time, create_by, update_by, device_no,
install_location, overdue_reason, repair_type, car_picture, vin_no_picture, install_location_picture, install_location, overdue_reason, repair_type, car_picture, vin_no_picture, install_location_picture,
complete_time,install_remark,install_device_type,reserve_install_time, complete_time,install_remark,install_device_type,reserve_install_time,
work_order_no, channel, merchant_username work_order_no, channel, merchant_name
</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
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
<if test="orderByClause != null"> <if test="orderByClause != null">
order by ${orderByClause} DESC order by ${orderByClause}
</if> </if>
</select> </select>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
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_username work_order_no, channel, merchant_name
) )
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},
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
channel, channel,
</if> </if>
<if test="merchantUsername != null"> <if test="merchantUsername != null">
merchant_username, merchant_name,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
...@@ -545,7 +545,7 @@ ...@@ -545,7 +545,7 @@
channel = #{channel,jdbcType=VARCHAR}, channel = #{channel,jdbcType=VARCHAR},
</if> </if>
<if test="merchantUsername != null"> <if test="merchantUsername != null">
merchant_username = #{merchantUsername,jdbcType=VARCHAR}, merchant_name = #{merchantUsername,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
...@@ -593,7 +593,7 @@ ...@@ -593,7 +593,7 @@
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_username = #{merchantUsername,jdbcType=VARCHAR} merchant_name = #{merchantUsername,jdbcType=VARCHAR}
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!