Commit e4c32311 authored by zhangsen's avatar zhangsen

改bug

parent 9a8983d2
...@@ -206,6 +206,7 @@ ...@@ -206,6 +206,7 @@
INNER JOIN p_plan p ON pt.plan_id = p.id INNER JOIN p_plan p ON pt.plan_id = p.id
INNER JOIN p_route r on r.id = pt.route_id INNER JOIN p_route r on r.id = pt.route_id
where pt.status = 0 where pt.status = 0
and p.is_delete = 0
) a ) a
<include refid="mobile-plan-task-where" /> <include refid="mobile-plan-task-where" />
<if test="orderBy != null and orderBy != ''"> order by ${orderBy}</if> <if test="orderBy != null and orderBy != ''"> order by ${orderBy}</if>
...@@ -265,6 +266,7 @@ ...@@ -265,6 +266,7 @@
INNER JOIN p_plan p ON pt.plan_id = p.id INNER JOIN p_plan p ON pt.plan_id = p.id
INNER JOIN p_route r on r.id = pt.route_id INNER JOIN p_route r on r.id = pt.route_id
where pt.status = 0 where pt.status = 0
and p.is_delete = 0
) a ) a
<include refid="mobile-plan-task-where" /> <include refid="mobile-plan-task-where" />
</select> </select>
......
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