Commit 02a3efae by zhanghj

V1.0.0--售后检修列表去掉已取消的

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18259 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 4632d650
...@@ -675,6 +675,7 @@ ...@@ -675,6 +675,7 @@
LEFT JOIN sys_order so on sor.sub_order_id = so.id LEFT JOIN sys_order so on sor.sub_order_id = so.id
<where> <where>
sor.order_id = #{orderId} sor.order_id = #{orderId}
and so.canceled = 1
<if test="queryContent != null and queryContent != ''"> <if test="queryContent != null and queryContent != ''">
and (so.order_sn like #{queryContent} or so.vin_no like #{queryContent} or so.car_owner like #{queryContent}) and (so.order_sn like #{queryContent} or so.vin_no like #{queryContent} or so.car_owner like #{queryContent})
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!