Commit 6c2f0ec4 authored by tianbo's avatar tianbo

所有人可查看非自己创建草稿计划问题修改

parent a247052d
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
p_route b p_route b
WHERE WHERE
a.route_Id = b.id and a.is_delete = 0 a.route_Id = b.id and a.is_delete = 0
and (a.status > 0 or a.maker_user_id = #{loginUserId})
<if test="planName!=null">and a.name like concat(concat("%",#{planName}),"%")</if> <if test="planName!=null">and a.name like concat(concat("%",#{planName}),"%")</if>
<if test="checkTypeId!=null and checkTypeId != '' ">and a.check_type_id = #{checkTypeId}</if> <if test="checkTypeId!=null and checkTypeId != '' ">and a.check_type_id = #{checkTypeId}</if>
<if test="leadPerson!=null and leadPerson != '' ">and a.lead_people_ids = #{leadPerson}</if> <if test="leadPerson!=null and leadPerson != '' ">and a.lead_people_ids = #{leadPerson}</if>
...@@ -167,6 +168,7 @@ ...@@ -167,6 +168,7 @@
p_route b p_route b
WHERE WHERE
a.route_Id = b.id and a.is_delete = 0 a.route_Id = b.id and a.is_delete = 0
and (a.status > 0 or a.maker_user_id = #{loginUserId})
<if test="planName!=null"> and a.name like concat(concat("%",#{planName}),"%")</if> <if test="planName!=null"> and a.name like concat(concat("%",#{planName}),"%")</if>
<if test="checkTypeId!=null and checkTypeId != '' "> and a.check_type_id = #{checkTypeId}</if> <if test="checkTypeId!=null and checkTypeId != '' "> and a.check_type_id = #{checkTypeId}</if>
<if test="leadPerson!=null and leadPerson != '' "> and a.lead_people_ids = #{leadPerson}</if> <if test="leadPerson!=null and leadPerson != '' "> and a.lead_people_ids = #{leadPerson}</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment