and a.create_date between #{startCreateTime} and #{endCreateTime}
and a.create_date >= #{startCreateTime}
and a.create_date <= #{endCreateTime}
select * from (
select a.*
,(SELECT replace(GROUP_CONCAT(aa.name),',',';') FROM sys_role aa,sys_role_user bb WHERE aa.id=bb.role_id AND bb.user_id = a.creator) AS role_names
from sys_log_operation a
) a
${whereSql}
and 1 = 1
and role_names NOT LIKE '%xtgly%' OR role_names NOT LIKE '%xtsjy%'
and request_uri not IN (
SELECT
a.dict_label AS urlLabel
FROM
sys_dict_data a,
sys_dict_type b
WHERE 1=1
AND b.dict_type = 'adminURL'
AND b.id = a.dict_type_id
AND b.is_delete = 0
)
and role_names LIKE '%xtgly%' OR role_names LIKE '%xtsjy%'
and request_uri IN (
SELECT
a.dict_label AS urlLabel
FROM
sys_dict_data a,
sys_dict_type b
WHERE 1=1
AND b.dict_type = 'adminURL'
AND b.id = a.dict_type_id
AND b.is_delete = 0
)
and a.creator = ${currentUserId}
and a.status = ${status}
and a.create_date between #{startCreateTime} and #{endCreateTime}
and a.create_date >= #{startCreateTime}
and a.create_date <= #{endCreateTime}
and is_delete = 0
ORDER BY a.create_date DESC
update sys_log_operation
is_delete = 1
where id = ${item.id}