Commit 542dfc67 by 杨林龙

查询试驾车列表时 添加查询条件

1 parent b547ac63
...@@ -370,7 +370,9 @@ ...@@ -370,7 +370,9 @@
left join t_device td on td.sn = tvd.sn left join t_device td on td.sn = tvd.sn
left join t_user tu on tu.id = tv.created_by left join t_user tu on tu.id = tv.created_by
where tv.del_flag = 0 where tv.del_flag = 0
and tvd.bind_status = 1
and tvd.trial_type = 0 and tvd.trial_type = 0
and tvd.del_flag = 0
and td.del_flag = 0 and td.del_flag = 0
<if test="sn != null and sn !=''"> <if test="sn != null and sn !=''">
and td.sn = #{sn} and td.sn = #{sn}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!