insert into sys_logininfor (user_name, status, ipaddr, msg, access_time,
user_id,dept_id )
values (#{userName}, #{status}, #{ipaddr}, #{msg}, sysdate(),
#{userId}, #{deptId} )
delete from sys_logininfor where info_id in
#{infoId}
truncate table sys_logininfor