Commit a662252d authored by tangwei's avatar tangwei

修改巡检bug

parent 3bd59d28
......@@ -263,6 +263,9 @@
pt.user_dept userDept
FROM
p_plan_task pt
LEFT JOIN p_plan_task_detail b
ON pt.id = b.task_no
where b.task_no is not null
INNER JOIN p_plan p ON pt.plan_id = p.id
) a
<include refid="plan-task-app-where"/>
......@@ -299,7 +302,10 @@
pt.user_dept userDept
FROM
p_plan_task pt
LEFT JOIN p_plan_task_detail b
ON pt.id = b.task_no
INNER JOIN p_plan p ON pt.plan_id = p.id
where b.task_no is not null
) a
<include refid="plan-task-app-where"/>
</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