Commit 773d7a99 by levphon

指定组织授权-车辆监控

1 parent bbe5f882
......@@ -414,7 +414,10 @@
tv.id in (select tvp.content_id
from t_vehicle_permit tvp
where tvp.del_flag = 0
AND tvp.receiver_id IN (#{loginUserId})
AND tvp.receiver_id IN
<foreach collection="userIds" separator="," open="(" close=")" item="item">
#{item}
</foreach>
AND tvp.content_type = 0)
OR
tv.created_by IN (SELECT tu2.id
......@@ -424,7 +427,10 @@
(SELECT tvp.content_id
FROM t_vehicle_permit tvp
WHERE tvp.del_flag = 0
AND tvp.receiver_id IN (#{loginUserId})
AND tvp.receiver_id IN
<foreach collection="userIds" separator="," open="(" close=")" item="item">
#{item}
</foreach>
AND tvp.content_type = 2))
)
<if test="term != null and term != ''">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!