Commit d48febca by duanhq

库存设备详情表修改 v 1.2.0

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@22058 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6a5ab618
......@@ -311,6 +311,7 @@
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 = 40
AND sd.device_status = 1
AND sd.user_id = #{userId}
<if test="deviceNo != null">
and sd.device_no LIKE "%"#{deviceNo}"%"
......@@ -336,6 +337,7 @@
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 = 40
AND sd.device_status = 1
AND
sd.user_id IN (
select
......@@ -367,6 +369,7 @@
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 = 40
AND sd.device_status = 1
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!