insert into system_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time) values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate())
select info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time from system_logininfor AND status = #{status} AND login_time >= #{params.beginTime} AND login_time <= #{params.endTime} AND ipaddr LIKE '%' || #{ipaddr} || '%' AND user_name LIKE '%' || #{userName} || '%' AND ipaddr like concat('%', #{ipaddr}, '%') AND user_name like concat('%', #{userName}, '%') order by info_id desc
delete from system_logininfor where info_id in #{infoId}
truncate table system_logininfor