Commit 01d997b4 by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26677 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent b052b74e
...@@ -104,12 +104,12 @@ ...@@ -104,12 +104,12 @@
<if test="sort != null"> <if test="sort != null">
sort = #{sort,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER},
</if> </if>
<!--<if test="repairType != null"> <if test="repairType != null">
#{repair_type,jdbcType=INTEGER}, repair_type = #{repairType,jdbcType=INTEGER},
</if> </if>
<if test="oldDeviceNo != null"> <if test="oldDeviceNo != null">
#{old_device_no,jdbcType=VARCHAR}, old_device_no = #{oldDeviceNo,jdbcType=VARCHAR},
</if>--> </if>
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<select id="getOrderDeviceList" parameterType="com.glsx.ordercenter.pojo.SysOrderDevice" resultMap="BaseResultMap"> <select id="getOrderDeviceList" parameterType="com.glsx.ordercenter.pojo.SysOrderDevice" resultMap="BaseResultMap">
select select
sod.id, sod.order_id, sod.device_no, sod.device_type, sod.install_location, sod.sort, sod.id, sod.order_id, sod.device_no, sod.device_type, sod.install_location, sod.sort,
sdd.data_value as deviceTypeName sdd.data_value as deviceTypeName, sod.repair_type, sod.old_device_no
from sys_order_device sod from sys_order_device sod
LEFT JOIN sys_dict_data sdd ON sod.device_type = sdd.data_key LEFT JOIN sys_dict_data sdd ON sod.device_type = sdd.data_key
where order_id = #{orderId,jdbcType=INTEGER} where order_id = #{orderId,jdbcType=INTEGER}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!