Commit 002a17d0 by 杨林龙

添加试驾里程查询限制条件

1 parent 24c03e7e
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
LEFT JOIN t_workorder tw ON tw.id = tv.workorder_id and tw.del_flag = 0 LEFT JOIN t_workorder tw ON tw.id = tv.workorder_id and tw.del_flag = 0
WHERE tv.del_flag = 0 WHERE tv.del_flag = 0
AND tvd.his_type = 1 AND tvd.his_type = 1
AND td.source = 1
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!