Commit b17bcd7f by duanhq

订单列表查询修复 v 1.2.0

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22026 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 874c2bf3
......@@ -310,7 +310,7 @@
sys_device sd
LEFT JOIN sys_dict_data sdd ON sd.device_type = sdd.data_key
LEFT JOIN sys_indent si ON sd.indent_no = si.indent_no
WHERE si.indent_status = 50
WHERE si.indent_status = 40
AND sd.user_id = #{userId}
<if test="deviceNo != null">
and sd.device_no LIKE "%"#{deviceNo}"%"
......@@ -335,7 +335,7 @@
LEFT JOIN sys_user su ON sd.user_id = su.id
LEFT JOIN sys_dict_data sdd ON sd.device_type = sdd.data_key
LEFT JOIN sys_indent si ON sd.indent_no = si.indent_no
WHERE si.indent_status = 50
WHERE si.indent_status = 40
AND
sd.user_id IN (
select
......@@ -366,7 +366,7 @@
sys_device sd
LEFT JOIN sys_dict_data sdd ON sd.device_type = sdd.data_key
LEFT JOIN sys_indent si ON sd.indent_no = si.indent_no
WHERE si.indent_status = 50
WHERE si.indent_status = 40
AND sd.user_id = #{userId}
<if test="deviceNo != null">
and sd.device_no LIKE "%"#{deviceNo}"%"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!