|
|
@@ -840,7 +840,6 @@ SELECT t.id,
|
|
|
t.org_name,
|
|
|
GROUP_CONCAT( DISTINCT r.role_name ) AS submit_name,
|
|
|
t.plan_start_time,
|
|
|
-
|
|
|
t.plan_end_time,
|
|
|
t.plan_start_time AS create_time,
|
|
|
t.check_team,
|
|
|
@@ -851,11 +850,8 @@ SELECT t.id,
|
|
|
LEFT JOIN core_safecheck_plan_to_role pr ON pr.plan_id = t.plan_id
|
|
|
LEFT JOIN sys_role r ON r.id = pr.role_id
|
|
|
LEFT JOIN core_safecheck_plan_to_role csptr ON csptr.plan_id = t.plan_id
|
|
|
- LEFT JOIN sys_org og ON og.id = t.check_org_id
|
|
|
WHERE
|
|
|
t.deleted = 0
|
|
|
- AND og.type = r.org_type
|
|
|
-
|
|
|
<if test="task.title != null and task.title != ''">
|
|
|
and t.title like concat('%', #{task.title}, '%')
|
|
|
</if>
|