login_log_id AS "loginLogId", log_name AS "logName", user_id AS "userId", create_time AS "createTime", succeed AS "succeed", message AS "message", ip_address AS "ipAddress"
select
from sys_login_log
where 1 = 1
and (create_time between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59'))
and log_name like CONCAT('%',#{logName},'%')
select
from sys_login_log
where 1 = 1
and create_time >= to_date(#{beginTime} || ' 00:00:00','YYYY-MM-DD HH24:MI:SS')
and create_time <= to_date(#{endTime}||' 23:59:59','yyyy-mm-dd hh24:mi:ss')
and log_name like CONCAT('%',#{logName},'%')
select
from sys_login_log
where 1 = 1
and create_time >= to_date(#{beginTime}||'00:00:00','yyyy-mm-dd hh24:mi:ss')
and create_time <= to_date(#{endTime}||'23:59:59','yyyy-mm-dd hh24:mi:ss')
and log_name like '%' || #{logName} || '%'