|
@@ -536,7 +536,7 @@ FROM
|
|
|
INNER JOIN rs_calendar_researcher AS b ON a.rs_calendar_id = b.rs_calendar_id
|
|
|
WHERE
|
|
|
1 = 1
|
|
|
- AND a.sys_user_id IN (SELECT admin_id FROM admin WHERE role_type_code IN ('rai_group','rai_seller') and role_id != 28 AND enabled = 1 )
|
|
|
+ AND a.sys_user_id IN (SELECT admin_id FROM admin WHERE role_type_code IN ('rai_group','rai_seller') and role_id NOT IN (28,69,70) AND enabled = 1 )
|
|
|
AND a.rs_calendar_id NOT IN (SELECT rs_calendar_id FROM rs_calendar_meeting_user GROUP BY rs_calendar_id )
|
|
|
AND a.activity_type = '路演'
|
|
|
AND b.start_date >= '2024-07-01'
|